Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 1st February 2013, 15:30
DaWy DaWy is offline
Junior Member
 
Join Date: Feb 2013
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
Default jailkit - Activate jailkit user can't login

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!!!
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
chroot, jailkit, passwd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Jailkit user cannot login wwweiss Installation/Configuration 5 29th January 2013 18:07
ISPConfig3 won't start after update Cracklefish Installation/Configuration 15 28th February 2012 15:11
Some problems and questions Typhon Installation/Configuration 22 15th January 2012 15:12
Jailkit SSH user login fails outeredge General 7 21st February 2011 15:40
MySQL Error Nolan Installation/Configuration 12 16th February 2011 03:15


All times are GMT +2. The time now is 16:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.