108Sudo - amagerard/TemplateVM GitHub Wiki
| 1- Installation | 2- Network | 3- Firewall | 4- Selinux |
|---|---|---|---|
| 5- Logs | 6- Certificates | 7- PassphraseSSH | 8- Sudo |
| 9- GnomeShell | 10- Volumes | 11- Proxmox | 12- Troubleshoots |
The user <username> does not know the root password.
The root password is in a safe.
sudo is already installed with Red Hat.
dnf install sudo if not installed.
User must not be in group wheel —> cat /etc/group| grep wheel.
Open visudo.
visudo
On RedHat, it is the vim editor.
On Debian, it's the nano editor.
Add or modify User_Alias and SUPER_ROOT.
## User Aliases
User_Alias SUPER_ROOT = <username>
#
#
## Allow SUPER_ROOT to run any commands anywhere
SUPER_ROOT ALL=(ALL)NOPASSWD: ALL
The user <username> no longer needs the root password.
It will type sudo su to be root.