Tuesday, July 22nd, 2008...11:52 pm

GEEK: how to add a user to the admin group on Mac OS X

Jump to Comments

Here’s how to add a user to the admin group using dscl:

dscl . append /Groups/admin GroupMembership crasch

Remove a user:

dscl . delete /Groups/admin GroupMembership crasch

Reading the membership of the admin group:

dscl . read /Groups/admin GroupMembership

Leave a Reply

You must be logged in to post a comment.