6 Feb
2014
6 Feb
'14
15:08
On 02/06/2014 03:08 PM, Dylan wrote:
How do I get sudo to allow me to run the command without entering the password? I have:
dylan ALL = (ALL) NOPASSWD: ALL
in my sudoers file but I still get asked for my password...
*your* password? IMHO that's not a good sudo config anyway because it should ask the target user's password ("targetpw"). I'd use something like Defaults targetpw root ALL=(ALL) ALL berny ALL=(root) NOPASSWD: /usr/bin/mount /share and have a little script ... or an alias like alias mountshare='sudo /usr/bin/mount /share' Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org