jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-users] FTP allowed outside jail


From: John Stille
Subject: [Jailkit-users] FTP allowed outside jail
Date: Tue, 12 Dec 2006 07:25:16 -0800 (PST)

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

my /home/temp_user/etc/jailkit/jk_lsh.ini:
[temp_user]
paths= /usr/bin, /usr/lib/, /usr/libexec/openssh, /usr/libexec
executables= /usr/libexec/openssh/sftp-server, /usr/bin/scp
allow_word_expansion = 0
umask = 002


Anything you see?  Also I am using CentOS 4.2

Thanks,
John


Any questions? Get answers on any topic at Yahoo! Answers. Try it now.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]