Trouble with sudo in chroot

Todd C. Miller Todd.Miller at courtesan.com
Thu Dec 19 22:33:19 EST 2002


In message <20021219190715.A11593 at ns.sdsitehosting.net>
	so spake John Oliver (joliver):

> I'm not following... isn't that what NOPASSWD is for?  To keep it from
> checking for a password?

I should have look at your sudoers entry more closely.  The problem
is that you have "< /etc/mail/virtusertable" in there which sudo
will never see (since redirection is handled by the shell).  If you
make it:

blist	ALL=NOPASSWD: /usr/sbin/makemap hash /etc/mail/virtusertable

things should work.

 - todd



More information about the sudo-users mailing list