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.
!/bin/bash
curUser=defaults read /Library/Preferences/com.apple.loginwindow lastUserName
Echo $curUser
dseditgroup -o edit -a $curUser -t user admin
