Posted on 03-04-2020 11:01 AM
Hi Everyone,
I have noticed that since being on Operating System Version:
10.15.3 our script to allow end users to permanently elevate themselves to an admin is no longer working. I do not have much knowledge about the script as I am taking over our system for a colleague. Is anyone able to help me understand what the issue could be? I will post a copy of our existing script in Jamf Pro.
curUser=defaults read /Library/Preferences/com.apple.loginwindow lastUserName
Echo $curUser
dseditgroup -o edit -a $curUser -t user admin
Posted on 03-06-2020 12:04 PM
Hi,
I use this script from Jamf https://github.com/jamf/MakeMeAnAdmin