[sudo-users] problem with NOPASSWD and specific commands
Todd C. Miller
Todd.Miller at courtesan.com
Wed Mar 16 18:09:05 EDT 2011
On Wed, 16 Mar 2011 17:14:16 EDT, seph wrote:
> Bingo. I was assuming I could test that sudo worked before installing
> monit, but I guess not.
The reason for this is that sudo stats the file and uses the inode
and device numbers when matching. If the file doesn't exist, the
stat fails so there is no match and thus the NOPASSWD tag is never
applied.
- todd
More information about the sudo-users
mailing list