I have traversed this site, looking for scripts or other means to provide users temporary admin rights. Most discussions provide two scripts, however, they do no show how to configure them from within Jamf JSS. One such example is from the github site JPDyson https://www.jamf.com/jamf-...
User Prompt: Line 24 | Plain text Default Message: You now have administrative rights for 30 minutes. DO NOT ABUSE THIS PRIVILEGE... Default Button: "Make me an admin, please!" Time Frame for Admin Rights: Line 39 | Integer in seconds Default: 1800 (30 minutes) ...
# This script will provide temporary admin ## rights to a standard user right from self ## service. First it will grab the username of ## the logged in user, elevate them to admin ## and then create a launch daemon that will ## count down from 30 minutes and then create ## and ...
We have been using https://github.com/kc9wwh/MakeMeAdminPy this is the python version and has ways to create logs. it also has a way for it when they create an admin account it will strip the admin rights and notify you if they did. We have had some success with this one. Just...
The script gives the user a temporary admin right. Admin rights are automatically deleted after 30 minutes with the launch daemon. Then, the user writes password with the OSAS script and only the update package is downloaded and installed with this password. #!/bin/bash ##macOS Update Policy...
# Made temporary file names more distinctive. # local SFFPArgCount=$# local SFFPCurrentDir local SFFPCurrentDirTranslated local SFFPEachLine local SFFPEachPath local SFFPFile local SFFPLDir local SFFPLLinkLS local SFFPLLinkPath local SFFPLPath local SFFPPathOption=-L local SFFPSaveIFS="...