Bugzilla – Bug 24
'sudo -l' prompts for password even when 'listpw = never' is set
Last modified: 2001-12-12 18:02:05 MST
If a user is not mentioned in /etc/sudoers, 'sudo -l' will ask for that user's password even if /etc/sudoers contains: Defaults listpw = never Users who are mentioned in /etc/sudoers are not asked for their passwords when using 'sudo -l'.
*** Bug 25 has been marked as a duplicate of this bug. ***
This is fixed in the sudo cvs tree so the next release of sudo will have the fix.