Hi guys! I've just installed ISPConfig with one OVH Dedicated Servers. (self install)
I've fallen in love with ISPConfig, its just amazing... but there's one thing I cant make it work (Sorry for my horrible english)
When I create a new ssh user for one website folder, I can connect with it without the jailkit enabled (so chroot option is "none"), but if I enable the option to "jailkit" the user can't login (it logins but insta kick him).
This is the log from the /var/log/auth.log when user's connect:
Code:
Feb 1 14:22:28 ks3266342 sshd[6088]: Accepted password for test from 88.1.35.95 port 57056 ssh2
Feb 1 14:22:28 ks3266342 sshd[6088]: pam_unix(sshd:session): session opened for user test by (uid=0)
Feb 1 14:22:29 ks3266342 jk_chrootsh[6095]: now entering jail /var/www/clients/client1/web2 for user test (5006) with arguments
Feb 1 14:22:29 ks3266342 jk_chrootsh[6095]: abort, failed to find user 5006 in /var/www/clients/client1/web2/etc/passwd
Feb 1 14:22:30 ks3266342 sshd[6088]: pam_unix(sshd:session): session closed for user test
The file that it says that does not exists (
/var/www/clients/client1/web2/etc/passwd)ofc it exists. Here it comes:
Code:
root:x:0:0:root:/root:/bin/bash
test:x:5006:5006:::/bin/bash
So whats the problem? I've updated jailkit to the last version (2.5) still not working.
Im sure jailkit is working, cuz if I remove the jailkit option in the chroot option on user edit, the user can login, but then he can browser all the path's... so thats not viable ofc.
My brain is starting to became black mat...
Anyone can help with this? thnx in advance!!!
Recent comments
6 hours 48 min ago
13 hours 29 min ago
17 hours 20 min ago
18 hours 58 min ago
1 day 3 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 21 hours ago
1 day 22 hours ago