GEEK: how to add a user to the admin group on Mac OS X
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
Post a Comment
You must be logged in to post a comment.