Macos – the difference between the default groups on Mac OS X

macospermissions

Two questions:

  1. What's the difference between the groups "wheel", "staff", and "admin"? What do they do?

  2. specific use case: I'm trying to setup a local CVS repository as stated in the Apple webpage so I can download a remote source tree… and I have to get myself permission to use a new directory /usr/local/cvsrep. It gets created by default as owned by "root" under group "wheel"… but I don't have membership in "wheel", I do have membership in "admin" and "staff" and am just wondering if I should chgrp the directory to admin or staff instead of wheel.

Best Answer

  • Regular OS X users are put into the staff group.

    Admin users are put in the staff and admin groups. The admin group can do some things that other users cannot do. e.g. Write to the /Applications folder. If you want to put an OS X user into the admin group you should do this by designating him as an admin via System Preferences->Users & Groups.

    root is the only member of the wheel group, and should remain the only member. If you have to do something that requires wheel, you should use the command sudo.