Skip to main content

Hi folks,

is it possible to set up the very common Make Me Admin Skript for my Macs as a local executable file? It would be no problem to hardcode the local admin credentials into the skript.

Thanks for your replies.

Th.

I wouldn't recommend hard coding credentails into a script, best to obfuscate the string using something like below.

https://github.com/brysontyrrell/EncryptedStrings

 

As far as making the script be a clickable executable. Automator or shortcuts may work for this; depending on the target version of macOS. The most straightforward way would be t o append dot command to the shell script, this would cause it to run when double clicked if permissions are set correctly. ie local admin.command


If you're looking to manage admin temporary admin rights.  I'd either enable Jamf's makemeadmin script in self service, or look into https://github.com/SAP/macOS-enterprise-privileges


Thats what i`m looking for - thanx man


Reply