I'm trying to setup sudo with no password but still I get prompted for password.
I'm using Ubuntu, here is the relevant line from the sudoers configuration file :
gandalf ALL=(ALL:ALL) NOPASSWD: ALL
|
|
|
Try dropping the extra :ALL, example:
|
|||||||||||||
|
|
Do you have other rules in your |
|||
|
|
|
My "man sudoers" on ubuntu contains this example line
FULLTIMERS is an alias rather than a user, but it should still work if you put a user name there. As far as I know, NOPASSWD: has to come before the first mention of ALL (after the equals sign) to bind to it. |
|||||||||
|
|
I use a group call
which seems to work. |
|||
|
|