So I have setup a jail, which only allows scp and ftp, however when I ftp into the server I am able to see the entire directory structure. The interesting thing is if I try to ssh into the box it shows up in my /var/log/messages that it isn't permitted by jk_lsh, and the connection is closed. I am looking for any help and simple things it might be.
My /home/temp_user/etc/passwd: temp_user:x:503:100::/home/temp_user:/usr/sbin/jk_lsh
my /etc/passwd temp_user:x:503:100::/home/temp_user/./home/temp_user:/usr/sbin/jk_chrootsh