Bugzilla – Bug 456
NOPASSWD: doesn't work for individual users
Last modified: 2011-08-24 10:20:19 MDT
Hi Since I have upgraded sudo from version 1.7.2.4 to version 1.7.4.4, I can not get the NOPASSWD tag to funktion on individuel users: This work without password-prompt: harvest ALL=(ALL) NOPASSWD: <command> This requires a password: This work without password-prompt: harvest ALL=(test-user) NOPASSWD: <command> I am running AIX 5300-11-02-1007 I use this in an application, which have to switch user, and then we use the NOPASSWD: tag. Best regards Jan Oldrup
I've been unable to replicate this problem. Are you running "sudo -u test-user <command>" or just "sudo <command>" ? If you leave out the -u I would expect sudo to prompt for a password and then give a permission denied error.