I've followed this http://www.howtoforge.com/chrooted-s...l-debian-lenny
how to however run into a couple of problems.
an ls under my test users home directory shows
bin dev etc home lib sbin usr
which I guess is for them to have access to the programs defined under APPS= in make_chroot_jail.sh
When logging in via ssh the default directory is /home and not /home/test and I can also browse other users folders, that said I can't see anything lower than /home ie /usr.
Ideally i'd like the user jailed to their own home folder and a neater way of having the 'APPS' organized so it's not in ever users directory and run chrooted sftp and ssh.
here's a snip of the end of my sshd_config file
Subsystem sftp /usr/lib/openssh/sftp-server
Match Group users
Any help would be greatly appreciated.