Mac OS

 
 
Mac OS is a Unix-based operating system and graphical user interface developed by Apple Inc.

More information about Mac OS can be found at: http://developer.apple.com







Add and delete user to group on Mac OS X



Information
none

Operating system used
none

Software prerequisites
none

Procedure
  1. Add user "robertlie" to group "_www".
    Type: sudo dseditgroup -o edit -a robertlie -t user _www

  2. To list all members of a group "_www".
    Type: dscacheutil -q group -a name _www

  3. To remove a user "robertlie" from a group "_www".
    Type: sudo dseditgroup -o edit -d robertlie -t user _www