You have another entry in the
Having done that,
sudoers
file which also matches your user. The NOPASSWD
rule needs to be after that one in order for it to take precedence.Having done that,
sudo
will prompt for a password normally for all commands except /path/to/my/program
, which it will always let you run without asking for your password.
0 comments:
Post a Comment
Don't Forget to comment