Jailkit SSH user not chrooted...buy why?
I'm learning how to use ISPConfig3 and am having a problem with setting up a chrooted ssh user. Not sure if I've done something wrong, missed something or something is broken.
Here are the steps I've taken:
- Created a new client
- Created a new website and associated it with the client created
- Created an ssh user and specified Chroot Shell for the account as "Jailkit".
I'm able to ssh into the server but am not chrooted. I'm able to traverse the entire file system.
I've done some searching and it seems that there might be a bug where the shell isn't being setup correctly in /etc/passwd.
web4:x:5004:5006::/var/www/clients/client2/web4:/bin/false
lt0001sshuser1:x:5004:5006::/var/www/clients/client2/web4:/bin/bash
Is it safe to assume that the two lines extracted from the passwd file are incorrect and should reflect as follows for this to work properly?...
web4:x:5004:5006::/var/www/clients/client2/web4:/bin/false
lt0001sshuser1:x:5004:5006::/var/www/clients/client2/web4:/usr/sbin/jk_chrootsh
Thank you in advance for any help. I don't want to start experimenting at this stage by changing things around...especially since this is my first experience with ISPConfig.
Last edited by LTxda; 20th October 2011 at 07:56.
|
Recent comments
13 hours 37 min ago
18 hours 42 min ago
23 hours 6 min ago
1 day 55 min ago
1 day 15 hours ago
1 day 15 hours ago
1 day 20 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 4 hours ago