Skip to content

Commit 64b97a0

Browse files
author
Joshua Roskos
committed
v2.2
Fixed smart group criteria Converted newAdmins to string
1 parent 9d600e9 commit 64b97a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ When you open the scripts you will find some user variables that will need to be
4343

4444
| And/Or | Criteria | Operator | Value |
4545
| :---: | :---: | :---: | :---: |
46-
| | MakeMeAdmin - Compliance Status | is not | Compliant |
46+
| | MakeMeAdmin - Compliance Status | Like | Non-Compliant |
4747

4848
**Step 4 - Create your policies**
4949

removeTempAdmin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
status = { 'Status':'Non-Compliant',
101101
'newAdmins':list(newAdmins)}
102102
plistlib.writePlist(status, workingDir + statusFile)
103-
print 'New Admin Accounts Found - ' + newAdmins
103+
print 'New Admin Accounts Found - ' + str(newAdmins)
104104
os.remove(workingDir + plistFile)
105105

106106
if os.path.exists('/Library/LaunchDaemons/' + launchdFile):

0 commit comments

Comments
 (0)