chroot in debian doesnt work.
Hi and thanks for the guides Falko.
I cant get the chroot patch to work although I followed your guide. Im running debian sarge/sid mix. Only difference between your installation process is that I choosed the chroot patch that matches my openssh version, and I assume this is the correct thing to do?
I did create all the dirs, copied all the files and changed the passwd entries.
Restarted my sshd after each change I did. also tried the suggested pam entries to be used with the patch (openssh-3.8.1p1-chroot/contrib/sshd.pam.generic).
passwd entry in both passwd files:
ls -l /home/chroot/
drwxr-sr-x 2 root staff 1024 Oct 14 17:47 bin
drwxr-sr-x 2 root staff 1024 Oct 14 17:43 dev
drwxr-sr-x 2 root staff 1024 Oct 14 17:50 etc
drwxr-sr-x 3 root staff 1024 Oct 14 17:51 home
drwxr-sr-x 3 root staff 1024 Oct 14 17:49 lib
drwxr-sr-x 5 root staff 1024 Oct 14 17:47 usr
SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4, openssh-3.8.1p1-chroot.