I am struggling with the same problem and no matter what I do it does not work.
This is my sudoers file part with the modifications
the sudo -l command gives
# User privilege specification
root ALL=(ALL) ALL
william ALL=(root) NOPASSWD: /usr/sbin/g15daemon
william ALL=(root) NOPASSWD: /usr/sbin/visudo
And still when I do sudo visudo I am asked for a password ?
william@attigliano:~$ sudo -l
User william may run the following commands on this host:
(root) NOPASSWD: /usr/sbin/g15daemon
(root) NOPASSWD: /usr/sbin/visudo
Where is my mistake ?
(I have read and reread all the man sudo pages and still no ideas....)
Thanks a lot.