|date of original post on Blogger: Sept. 18, 2007|
Mac OsX does not use the usual Unix user and group administration tools. It has it’s own application – called netinfo (see man netinfo) and a gui for that, called Netinfo Manager and located in /Applications/Utilities. You need to have administrator privileges to use it for modification.
When you open Netinfo Manager, you can browse a set of items, among which users and groups. When you select a user or a group, you’ll see a set of properties and values. Each grup is identified by a gid number, and each user by a uid number – and a gid that refers to its default group.
If you want a user to belong also to other groups (say e.g. to group www), you need to add the name (not the gid) of the user to group www’s “users” property. If the “users” property (in groups -> www) does not exist – by default it’s not there – , you need to create it by using the “new” icon top left.
If instead you want to do it from command line, take a look here (I did not try this solution).