-
For sudo users, add the user to the
/etc/sudoers
file. The following shows the privileges and specifications for users. -
Edit the entry in the
/etc/sudoers
file so the system asks for the sudo user password instead of root user password when you run the sudo command. -
The following shows the privileges to comment or remove from
/etc/sudoers
.
WARNING! Only use this option with
Defaults targetpw
.
-
To use super user functionality, configure the user as a super user with all root privileges. You can also use non-root user with a root user to update components.
-
When using SSH keys for login credentials combined with sudo, edit the entry in the
/etc/sudoers
file so that the system does not ask for the user password as follows: