Quote:
Originally posted by saavik
sudo /usr/bin/chroot /home/chroot /bin/su - xxx
/bin/su: user xxx does not exist
|
you probably didn't copy the name switch service plugin libraries to the jail. try a locate on
libnss
are you aware that such a chroot jail setup is
not secure? it is possible to break out of it.
if you want a secure jail, and some convenient scripts to create it, check out the
jailkit project , I use it for accounts that can do only sftp and cvs to a chroot jail, and nothing else.