search for: l2chroot

Displaying 1 result from an estimated 1 matches for "l2chroot".

Did you mean: chroot
2011 Jul 14
0
Chroot issue with username to uid
...oot/bin/ cp /usr/bin/scp /home/chroot/usr/bin/ cp /usr/bin/sftp /home/chroot/usr/bin/ cp /usr/bin/ssh /home/chroot/usr/bin/ cp /usr/bin/vim /home/chroot/usr/bin/ cp /usr/bin/id /home/chroot/usr/bin/ cp /usr/libexec/openssh/sftp-server /home/chroot/usr/libexec/openssh/ cd /usr/local/sbin/ wget -O l2chroot http://www.cyberciti.biz/files/lighttpd/l2chroot.txt chmod +x l2chroot vim l2chroot for i in `ls /home/chroot/bin/`; do l2chroot /bin/$i; done for i in `ls /home/chroot/usr/bin/`; do l2chroot /usr/bin/$i; done l2chroot /usr/libexec/openssh/sftp-server vim /etc/ssh/sshd_config /etc/init.d/sshd r...