Re: Displaying errors to users
"Todd C. Miller" <[email protected]>
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 14 Nov 2017 11:19:59 -0500, seph wrote: > Using a very small configuration: > Defaults passwd_tries=0, passwd_timeout=0 > ALL ALL=(ALL:ALL) NOPASSWD: !/bin/cat > %vagrant ALL=(ALL) NOPASSWD:ALL > frank ALL=(ALL:ALL) NOPASSWD: /bin/ls The problem is the "passwd_tries=0" setting. If you remove that the user will receive the error message after first entering their password. I've just committed a fix for this. As a workaround you could do: Defaults !authenticate if you never want to require the user to enter a password. - todd ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users