MakeMeAdminPy

Simon_L
New Contributor II

Trying to implement Temporary Admin Self Service for our developers, as they require periodic updates to installed software. Much easier if users can install what they needed. The script was originally written by Joshua Roskos. Stuck trying to figure out the variables to make the script work in our environment.

https://github.com/kc9wwh/MakeMeAdminPy

Variables
grantTempAdmin.py - Lines 72-79
removeTempAdmin.py - Lines 70-77
EA-MakeMeAdmin_ComplianceCheck.py - Lines 5-6

Thanks

7 REPLIES 7

jcshofner
New Contributor III

Were you able to implement MakeMeAdminPy. I am trying to figure this out, myself?

ukspvmalapati
New Contributor III

hi , Can I get this script in Shell?

MacTool
New Contributor II

Maybe give this one a try as a shell script:

https://github.com/MacTool/JSS-Public/tree/master

Haven't tested it outside my environment yet, but may be helpful.

Simon_L
New Contributor II

Nope, still haven't figured out MakeMeAdminPy.

Currently using script posted by JPDyson https://www.jamf.com/jamf-nation/discussions/6990/temporary-admin-using-self-service

jcshofner
New Contributor III

I would like to what to select once in smart groups...

Step 3 - Configure the Smart Group

Create a Smart Group named "MakeMeAdmin - Violations" and ensure "Send email notification on membership change" is enabled.

And/Or Criteria Operator Value MakeMeAdmin - Compliance Status Like Remediated
Or MakeMeAdmin - Compliance Status Like Violation

kenergy
Contributor

Anyone getting "Violation - No newAdmins - orgAdmin ERROR" ?

jcshofner
New Contributor III

To Simon.L: I added both scripts to Jamf. How are the policies setup for this to take effect? I know that the tempadmin script works, but I am not able to get the second script to execute.