How to add a user to the wheel group?

How to add a user to the wheel group in leopard?

Posted on Nov 10, 2007 7:39 AM

Reply
6 replies

Nov 10, 2007 7:52 AM in response to ununquadium

In Leopard, users can be added to system groups using ' dscl'. For example, while logged into an "admin" account, the command below can be entered using "/Applications" > "Utilities" > "Terminal.app" to add a user "username" to the "wheel" group:<pre>
sudo /usr/bin/dscl . -append /groups/wheel GroupMembership username</pre>

If you prefer a GUI, "Workgroup Manager.app", included with the Leopard version of the "Server Admin Tools" can be used.
http://www.apple.com/support/downloads/serveradmintools105.html

Nov 10, 2007 8:44 AM in response to biovizier

That did it. Since I am not using the admin account for my daily work I needed to put my normal account into the wheel group to be able to su to root.

However, I don't understand how the above command works. The /groups directory does not exist on my system, but 'dscl . -read /groups/wheel' gives me correct output. Hm.. I guess I have to take a look at the way the open directory architecture works.

Thanks anyway 🙂

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to add a user to the wheel group?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.