I am on a Mac (Snow Leopard) and I would like to add myself to the "wheel" group? How do I do that? I there a way I can see all the groups am I in?
|
feedback
|
|
You can see what groups you are in using the $ id testacc uid=1089(testacc) gid=1096(testacc) groups=1096(testacc) the $ dscl . append /Groups/admin GroupMembership username where username is the user short name of the user you wish to add to the particular group. | |||
|
feedback
|
|
There is arguably a better command to check what group one belongs to. The "groups" command. Example:
The command to add group wheel:
Where "username" is your username. Then re-run "groups" to see that you have indeed been added to group wheel, like so:
| ||||
feedback
|
protected by studiohack♦ Apr 27 '11 at 1:28
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.