OS X change Standard user to Admin user Terminal Command line?

Spread the love


Long story short I used the following command via terminal:


sudo dseditgroup -o edit -d UserName -t user admin 

To change my admin user to a standard user regarding a Jamf Now enrolment, but now I want to revert back the standard user to an admin user. But I can't seem to workout the terminal command to revert back.

Author: Subham

Leave a Reply

Your email address will not be published. Required fields are marked *