Mac OS X tips
 

how to add a user to a group:

sudo dscl localhost -append /Local/Default/Groups/groupname GroupMembership username