NOPASSWD requires a password the first time
fcusack at fcusack.com
Mon Feb 2 09:04:00 EST 2004
On Mon, Feb 02, 2004 at 05:10:23AM -0800, Frank Cusack wrote:
> I'm using RH sudo-1.6.5p2-1.7x.1 and have a problem where, the only
> commands in my /etc/sudoers for a specific user are NOPASSWD commands.
> sudo -l lists them. But if I try to run a command, I get prompted for
> a password. Once I enter the password, future invocations do not prompt
Figured it out... I also have a netgroup rule, which allows all commands,
but requires a password. This user happens to be in that netgroup. For
this application, it's not a problem to remove that user from the netgroup.
I swear I was commenting that rule out during testing, but I guess not.
Anyway, this is still a minor bug, don't you think?
More information about the sudo-workers