[sudo-users] NOPASSWD sudoers entry asking for password question
Todd C. Miller
Todd.Miller at courtesan.com
Thu Feb 12 07:28:22 MST 2015
On Wed, 11 Feb 2015 15:55:19 -0500, Robert Freeman-Day wrote:
> I ran into a situation where we had a sudoers entry with a full path to a com
> mand (script) under
> NOPASSWD. So from sudo -l:
> (root) NOPASSWD: /opt/bin/script *
> By mistake, the script was not placed there. As a result, we got a prompt fo
> r password. Is that by
> design or a possible bug?
Since the rule didn't match, the NOPASSWD tag was not applied and
the default policy of requesting a password was in effect.
More information about the sudo-users