Thursday, May 6, 2010

Add user to groups in mac (leopard)


$ sudo dscl . create /groups/lms name lms
$ sudo dscl . create /groups/lms passwd "*"
$ sudo dscl . create /groups/lms gid 20014
$ sudo dscl . create /groups/lms users amitava


Related Links
http://osxfaq.com/tips/unix-tricks/week91/thursday.ws
http://paulbeachsblog.blogspot.com/2008/02/adding-user-to-group-using-dscl.html
http://support.apple.com/downloads/Server_Admin_Tools_10_5

Server Admin Tools does not allow me to edit stuff - just view it

No comments:

Post a Comment