Trouble with sudo in chroot

John Oliver joliver at john-oliver.net
Thu Dec 19 22:07:15 EST 2002


On Thu, Dec 19, 2002 at 07:34:15PM -0700, Todd C. Miller wrote:
> Sudo cannot get your password info from inside the chroot space,
> at least it is not getting the shadow password.  Furthermore, since
> this is on Linux it probably needs a bunch of PAM stuff in there
> as well.  If you don't care about passwords, you can just disable
> them in your sudoers file.

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

I did copy the shadow file into the chroot, BTW.

-- 
John Oliver, CCNA                            http://www.john-oliver.net/
Linux/UNIX/network consulting         http://www.john-oliver.net/resume/
***               sendmail, Apache, ftp, DNS, spam filtering         ***
****                Colocation, T1s, web/email/ftp hosting          ****



More information about the sudo-users mailing list