Bugzilla – Bug 478
sudo -n prompts for a password
Last modified: 2011-04-11 08:04:09 MDT
When a user is not listed in sudoers, "sudo -n" prompts for a password. tuxce ~ $ sudo -k; sudo -nl User tuxce may run the following commands on this host: (ALL) ALL (ALL) NOPASSWD: /usr/bin/hidd And with another user: test ~ $ sudo -k; sudo -nl Mot de passe : Sorry, user test may not run sudo on cfuzp.
Created attachment 308 [details] Patch to fix non-interactive mode in sudo 1.8.0 with sudoers plugin The attached patch fixes the problem.
This is fixed in 1.8.1 which is currently in beta test, see http://www.sudo.ws/sudo/devel.html
Fixed in sudo 1.8.1