0

I would like my user (which is included in the sudoers file), to be able to run a certain script that needs certain root privileges without being asked for the password. Inside there are some commands with the sudo command.

In my case, I have configured the /etc/sudoers file as follows:

myuser   ALL=(ALL:ALL) ALL
myuser   ALL=(root) NOPASSWD: /home/myuser/something_administrative.sh

But still, it keeps asking me for my password in order to execute the command. What is wrong with the configuration and how can I fix it?

Ommadawn
  • 373
  • 1
  • 5
  • 16

0 Answers0