I'm trying to setup sudo without 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
The correct syntax is:
I'm not sure if yours will work. If the above doesn't work, please provide entire content of file.
This should be placed after any group settings that would affect the user. If