mac os x leopard unix groups admin

well it looks like there is still no usermod command in leopard and they have gotten rid of the god awful netinfo manager

the new commands use dscl (directory services client) for managing users and groups. its still a bit confusing and less straight forward than the normal unix commands , usermod, groupadd, etc. 

list groups

dscl . -list /groups 

read group

dscl . -list /groups/_www

add users

dscl . -merge /groups/_www users pjkix

Post a Comment

Your email is never published nor shared. Required fields are marked *