Command Line Group Management
Adding a user:
dscl . append /Groups/admin GroupMembership gneagle
Removing a user:
dscl . delete /Groups/admin GroupMembership gneagle
Reading the membership of the admin group:
dscl . read /Groups/admin GroupMembership
This comes with a nod to Managing OSX
Comments !