09Sudo - amagerard/TemplateVM GitHub Wiki
1- Installation | 2- Network | 3- Firewall | 4- Selinux |
---|---|---|---|
5- Logs | 6- Certificates | 7- Mail | 8- PassphraseSSH |
9- Sudo | 10- GnomeShell | 11- CloneVM | 12- Volume |
13- Troubleshoot |
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
Add or modify.
## User Aliases
User_Alias SUPER_ROOT = <username>
#
#
## Allow 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.