#1  
Old 10th February 2011, 19:46
pdga pdga is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default jailkit problem

Hi,

I have setup a multiserver setup on Debian Squeeze, ispconfig 3.0.3.2 and jailkit 2.13. It works. But when I add a shell user, his shell is /bin/false, so the user can't login. If I change to /bin/bash, it works. Is it a bug ? Where can I check the shell added by ispconfig in /etc/passwd ?

/edit : the user is not chrooted, I can browse the / filesystem.
/edit2 : I have installed jailkit by hand with configure/make/make install, I didn't see that there is a debian way now.

Thanks.

Last edited by pdga; 10th February 2011 at 20:09.
Reply With Quote
Sponsored Links
  #2  
Old 11th February 2011, 12:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Quote:
Originally Posted by pdga View Post
If I change to /bin/bash, it works. Is it a bug ?
There is a config problem on your system and not a bug. About which user do you talk, the web user has to be set to /bin/false as he may not login by ssh and there is a second user with the same uid that is set to the jailkit hell. That you can see all directories is vcaused by setting the shell to /bin/bash

Quote:
Where can I check the shell added by ispconfig in /etc/passwd ?
in /etc/passwd

Please check the ispconfig monitor if there are any jobs listed in the jobqueue and if ther are any errors in the sytem log.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th February 2011, 18:51
pdga pdga is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

thanks for your reply.

Quote:
Originally Posted by till View Post
About which user do you talk, the web user has to be set to /bin/false as he may not login by ssh and there is a second user with the same uid that is set to the jailkit hell. That you can see all directories is vcaused by setting the shell to /bin/bash
#tail -4 /etc/passwd
web5:x:1002:1003::/var/www/clients/client1/web5/./home/web5:/bin/false
web6:x:1003:1004::/var/www/clients/client3/web6/./home/web6:/bin/false
adm_xxxxxxx-ssh:x:1002:1003::/var/www/clients/client1/web5/./home/adm_gatouillat-ssh:/bin/false
adm_yyyyyyy-ssh:x:1003:1004::/var/www/clients/client3/web6/./home/adm_handball-ssh:/bin/false

the adm* users should have the jk shell /usr/sbin/jk_chrootsh ?




Quote:

Please check the ispconfig monitor if there are any jobs listed in the jobqueue and if ther are any errors in the sytem log.
no job in the queue.

I just create another user and I have some errors in cron.log. I will check that first.

/edit : I made a symlink /var/www to /srv/www, it seems symlink is the problem. I will correct the paths and check again

Last edited by pdga; 11th February 2011 at 19:12.
Reply With Quote
Reply

Bookmarks

Tags
debian, jailkit, squeeze

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
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 15:15
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 11:05
Bug? Jailkit / chroot crashed server grigra General 19 15th October 2009 10:48
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 05:40
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 02:56


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


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