User & sudo Builder

Commands to add, change, lock and remove Linux users, and safe sudo rules
Fill in the form and get the exact commands for your Linux distribution: create a user, add their SSH key, give sudo rights (everything, or just a few commands), lock an account or remove it. Sudo rules go into their own file in /etc/sudoers.d and are checked with visudo first, so a typo can’t lock you out. You can also paste any sudoers line to have it explained.
RUNS ENTIRELY IN YOUR BROWSER · NOTHING IS SENT ANYWHERE

Your system

Kind
Logs in with
More options

Which group gives sudo?

DistributionGroupNotes
Debian, Ubuntu, MintsudoMembers of sudo can use sudo out of the box.
RHEL, Rocky, Alma, Fedora, CentOSwheelMembers of wheel can use sudo out of the box.
Arch, ManjarowheelThe %wheel line in /etc/sudoers ships commented out; turn it on with a file in /etc/sudoers.d.
openSUSE, SUSEwheelNew installs let wheel members use their own password (package sudo-policy-wheel-auth-self); older ones ask for root’s password.
Alpinewheelsudo isn’t installed by default (apk add sudo), and the %wheel line is commented out.

sudoers rules worth knowing