В Thu, 06 Feb 2014 16:08:15 +0100
Bernhard Voelker
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").
No, it is exactly the right config. Why would I jump through the hoops to create sudo configuration if later I simply hand over root password to every user that is entered in sudoers? Then user could just become root without sudo and do whatever (s)he likes unrestricted. sudo allows you to restrict what sort of actions users are allowed to perform and to force them to prove their identity by entering their password. It is there to limit damage unrestricted root access can cause, not to make it easier to cause this damage :) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org