Hi,
Well I must be an idiot too

because I followed the howto to the letter and I get the same error where putty just exits after password entry. Maybe you can help me out by writing exactly what you did to correct the problem.
user
testuser
ls -al on the different directories
root@srv-02:/home/chroot# ls -la home/testuser/
total 20
drwxr-xr-x 2 testuser users 4096 2008-04-06 16:56 .
drwxr-xr-x 3 root root 4096 2008-04-06 16:56 ..
-rw-r--r-- 1 testuser users 220 2008-04-06 16:56 .bash_logout
-rw-r--r-- 1 testuser users 414 2008-04-06 16:56 .bash_profile
-rw-r--r-- 1 testuser users 2227 2008-04-06 16:56 .bashrc
root@srv-02:/home/chroot#
root@srv-02:/home/chroot# ls -la etc
total 20
drwxr-xr-x 2 root root 4096 2008-04-06 17:20 .
drwxr-xr-x 8 root root 4096 2008-04-06 17:09 ..
-rw-r--r-- 1 root root 13 2008-04-06 17:13 group
-rw-r--r-- 1 root root 101 2008-04-06 16:56 passwd
-rw-r----- 1 root root 1548 2008-04-06 17:20 shadow
root@srv-02:/home/chroot#
I had to copy the shadow file there myself
The auth log info --
root@srv-02:/home/chroot# tail -f /var/log/auth.log
Apr 6 17:09:01 srv-02 CRON[27462]: (pam_unix) session opened for user root by (uid=0)
Apr 6 17:09:01 srv-02 CRON[27462]: (pam_unix) session closed for user root
Apr 6 17:09:30 srv-02 sshd[27721]: Accepted password for testuser from 66.xx.xx.xxx port 2228 ssh2
Apr 6 17:14:53 srv-02 sshd[27242]: Received signal 15; terminating.
Apr 6 17:14:53 srv-02 sshd[27834]: Server listening on :: port 22.
Apr 6 17:14:53 srv-02 sshd[27834]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Apr 6 17:15:06 srv-02 sshd[27839]: Accepted password for testuser from 66.xx.xx.xxx port 2297 ssh2
Apr 6 17:17:01 srv-02 CRON[27867]: (pam_unix) session opened for user root by (uid=0)
Apr 6 17:17:01 srv-02 CRON[27867]: (pam_unix) session closed for user root
Apr 6 17:20:51 srv-02 sshd[27916]: Accepted password for testuser from 66.xx.xx.xxx port 2574 ssh2
etc/passwd file
root:x:0:0:root:/root:/bin/bash
testuser:x:20001:100:testuser:/home/chroot/./home/testuser:/bin/bash
etc/passwd (END)
etc/group file
users:x:100:
etc/group (END)
Any help would be appreciated.
TIA
Recent comments
17 hours 48 min ago
1 day 29 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 42 min ago
2 days 4 hours ago
2 days 8 hours ago
2 days 9 hours ago