0

how to run root commands without password from sudo user

I want my sudo users to run root commands without asking passwords.

connor
asked Feb 21, 2017
1 Answer
0

You can configure Sudo to allow authorization without any password.

Follow these steps:

  1. Log in to the as root user.
  2. Open the /etc/sudoer file or run visudo to edit the configuration file.
  3. Jump to the configuration line for the specified user and add the ‘NOPASSWD’ option.
    For example, if the user name is user1, add the ‘NOPASSWD’ option as shown in the following example:

Example: user1 ALL=(ALL) NOPASSWD: /usr/bin/d2d_ea,/user/bin/ln

Now you have successfully configured Sudo for authorization without password

View More
linuxhelp
answered Jan 29, 2019
Your Answer
||||
x
 
100:0

Related Tutorials in how to run root commands without password from sudo user

Related Tutorials in how to run root commands without password from sudo user

Related News in how to run root commands without password from sudo user

Related News in how to run root commands without password from sudo user