LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

What is the wheel group and why is it important?

wheel is the conventional admin group: a single line in /etc/sudoers (%wheel ALL=(ALL) ALL) grants every member the right to use sudo, so adding a user to wheel is how you make them an administrator.

This is privilege-by-membership rather than by password — instead of sharing a root password, you control who's an admin by editing one group. On Debian/Ubuntu the same role is played by the group named sudo. Always add with usermod -aG wheel user (the -a matters, or you wipe their other groups), and remember they must re-login for it to take effect.

Purpose:

  • Members can use sudo to run commands as root
  • Name comes from "big wheel" = important person

Check wheel membership:

id labstudent
# groups=1004(labstudent),10(wheel)
#                          └── Can use sudo!

How it works:

  1. User runs sudo command
  2. System checks if user is in wheel group
  3. If yes, prompts for user's password
  4. Command runs as root

Add user to wheel:

sudo usermod -aG wheel username

Configured in /etc/sudoers:

%wheel ALL=(ALL) ALL
# Members of wheel can run any command as any user

Alternative on Debian/Ubuntu: The group is called sudo instead of wheel.

Tip: Always use -aG (append to groups) - without -a, you'll remove the user from all other groups!

Go deeper:

From Quiz: LIOS / User Management and Permissions | Updated: Jul 05, 2026