Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Modify group memberships in 10.5 System 10.5
If you are looking to add users to custom groups, take a look at this Apple support document. However, occasionally there is a need to add a user to one of the system groups. In 10.4, this was done with NetInfo Manager, but that is gone in 10.5. After poking around a few websites, I wasn't able to find any tutorials on it, so hopefully this will help someone.

Everything here should be done on the command line (I looked for a GUI way to do this, but couldn't find one). First start dscl like this:
$ dscl localhost
Then cd to the Groups node:
cd /Local/Default/Groups
You can see all the groups using ls. Once you have found the group you are interested in, you can view all its properties with cat groupname. When you are ready to add a user (username) to the group (groupname), use the following command:
append groupname GroupMembership username
If you want to remove a member from a group, use the following command (be careful!):
delete groupname GroupMembership username
When you are finished with your changes, exit dscl by typing exit.
  • Currently 3.50 / 5
  You rated: 5 / 5 (12 votes cast)

10.5: Modify group memberships in 10.5 | 2 comments | Create New Account
Click here to return to the '10.5: Modify group memberships in 10.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Modify group memberships in 10.5
Authored by: azguy on Nov 14, '07 08:02:11AM
For "the GUI way," download Apple' Server Admin Tools for 10.5.

Once installed, use Workgroup Manager and log into "localhost" with an Admin ID and password.

[ Reply to This | # ]
10.5: Modify group memberships in 10.5
Authored by: mkluskens on Nov 27, '07 12:42:37PM

This works even if you are not running OS X 10.5 Server. The package from Apple certainly makes it seem like this would only work with OS X 10.5 Server.

[ Reply to This | # ]