Prev Previous Post   Next Post Next
Old 29th January 2013, 13:55
wwweiss wwweiss is offline
Junior Member
Join Date: Jan 2013
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default Jailkit user cannot login

I installed a new server with ISPConfig (Ubuntu 12.04) as discribed in the howto. The only thing I changed was to user Jailkit 2.15 instead of 2.14.
So far everything seems to work, but if a add a jailed SSH-user in ISPconfig this user cannot login.
In auth.log I can see these errors:

jk_chrootsh[8665]: path /var/www/clients/client2/web1/./ is not owned by user 5004
jk_chrootsh[8665]: path /var/www/clients/client2/web1/./ is not owned by group 5005

All configuration seems to be like it should.
If I add a jailed user without ISPconfig I get it to work, but with small differences in the home-path.

ISPconfig adds this line to /etc/paswd:


and this to the jailed passwd:


Adding a user without ISPconfig makes a home-directory for the user inside the jail. So I changed the both lines above to:




With this change it works. Of course the users starts in den web-directory after login.

Is there a problem with ISPconfig or with Jailkit 2.15 and how can I fix that?
Has anyone else these problems?
Reply With Quote
Sponsored Links


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
MySQL Error Nolan Installation/Configuration 13 27th November 2014 06:04
Jailkit SSH User access to /var/www/ ? sjau General 2 19th March 2012 09:31
ISPConfig3 won't start after update Cracklefish Installation/Configuration 15 28th February 2012 15:11
Fail2ban configuration Captain Installation/Configuration 2 28th June 2011 20:48
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59

All times are GMT +2. The time now is 18:44.

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