Linux 101 : Sudoers -Sudo command-
Sudoers is a way to grant root access to regular users, without the need to share the root password with them.
For that to work, we would need to add the user to the sudoers file so they can start tasks that would normally requires root privileges.
Sudoers users can start root programs using the below command:
Example:
For that to work, we would need to add the user to the sudoers file so they can start tasks that would normally requires root privileges.
Sudoers users can start root programs using the below command:
Creating a regular user:
In the sudoers file, we need to add either the user or the group we want to give root privileges to.
Adding a group of users to the sudoers file:
Example:
Comments