jailkit problem

Discussion in 'Installation/Configuration' started by pdga, Feb 10, 2011.

  1. pdga

    pdga New Member

    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: Feb 10, 2011
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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

    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.
     
  3. pdga

    pdga New Member

    thanks for your reply.

    #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 ?




    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: Feb 11, 2011

Share This Page