15

The output of groups after sudo bash lists the following groups:

wheel daemon kmem sys tty operator procview procmod everyone staff certusers localaccounts admin com.apple.sharepoint.group.2 _appstore _lpadmin _lpoperator _developer com.apple.access_screensharing com.apple.access_ssh com.apple.sharepoint.group.1 

What is the wheel user group for and why is it called wheel?

2

2 Answers 2

6

Quoting from this superuser answer by Rich Homolka:

Mac OS X has roots in BSD UNIX, a.k.a. the UNIX that came out of UC Berkeley. They had a group of trusted people that could become superuser by using the su command. So they coded their UNIX to only allow people in this specific group to become superuser using su. They chose the groupname 'wheel', supposedly reference to other systems that had WHEEL, possibly a reference to being a 'big wheel'

It's less important now that you have the GUI authorization popups and sudo. You can use sudo without being in wheel group I believe.

1
  • 3
    When in grad school I heard the expression: "Only 2 things ever came out of Berkeley, BSD, and LSD. That was not a coincidence". lol
    – Natsfan
    Dec 14, 2017 at 18:23
3

From Wikipedia:

Modern Unix systems use user groups to control access privileges. The wheel group is a special user group used on some Unix systems to control access to the su command, which allows a user to masquerade as another user (usually the super user).

In computing, the term wheel refers to a user account with a wheel bit, a system setting that provides additional special system privileges that empower a user to execute restricted commands that ordinary user accounts cannot access.The term is derived from the slang phrase big wheel, referring to a person with great power or influence.

1
  • 1
    This is mostly irrelevant on OS X, since most of the functions traditionally controlled by wheel membership have been replaced by things that use the admin group instead (e.g. sudo is generally used instead of su, and sudo is configured to allow members of admin to use it). Oct 22, 2014 at 17:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .