[ale] chrooting a ssh login...
John Wells
jb at sourceillustrated.com
Thu May 8 08:47:19 EDT 2003
I'm trying to chroot a few ssh users on a RH 7.3 box to a directory called
/home/chroot.
I've copied various files over (/bin/bash and the libs needed, etc.).
I've edited /etc/security/chroot.conf and added a line for each user like:
testuser /home/chroot
I've edited /etc/pam.d/sshd and added:
session required /lib/security/pam_chroot.so
I even added it to /etc/pam.d/login, so I could test it with su.
However, it's not working (even through login). It simply acts as if
chroot is never called, dumping the users to their default home
directories. I'm assuming I've missed something along the way.
Could anyone point it out?
Thanks!
John
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list