| Distribution | Group | Notes |
|---|---|---|
| Debian, Ubuntu, Mint | sudo | Members of sudo can use sudo out of the box. |
| RHEL, Rocky, Alma, Fedora, CentOS | wheel | Members of wheel can use sudo out of the box. |
| Arch, Manjaro | wheel | The %wheel line in /etc/sudoers ships commented out; turn it on with a file in /etc/sudoers.d. |
| openSUSE, SUSE | wheel | New installs let wheel members use their own password (package sudo-policy-wheel-auth-self); older ones ask for root’s password. |
| Alpine | wheel | sudo isn’t installed by default (apk add sudo), and the %wheel line is commented out. |
/etc/sudoers.d/, not in /etc/sudoers itself, so package updates don’t overwrite them.~ are silently skipped: /etc/sudoers.d/deploy.conf does nothing.visudo -c before it goes live. One typo in a sudoers file can stop sudo working for everyone.#includedir /etc/sudoers.d is not a comment. Newer sudo writes it as @includedir; both work./usr/bin/systemctl. Find it with command -v systemctl.find, tee and script interpreters can all reach a root shell. To let someone edit a file, allow sudoedit /path/file instead.sudo -l -U name lists what a user may run.