Jailkit -> failed to execute shell

Discussion in 'Installation/Configuration' started by kef, Oct 4, 2013.

  1. kef

    kef New Member

    Hi,

    I'm running ISPConfig 3.0.5.3 on Debian Wheezy and am trying to setup SSH access with chroot using jailkit (2.16-1)

    So far I'm only getting errors in /var/log/auth.log:

    Code:
    ==> /var/log/auth.log <==
    Oct  4 13:16:48 localhost sshd[19464]: Accepted password for user1 from 1.1.1.1 port 50530 ssh2
    Oct  4 13:16:48 localhost sshd[19464]: pam_unix(sshd:session): session opened for user user1 by (uid=0)
    Oct  4 13:16:48 localhost jk_chrootsh[19471]: now entering jail /var/www/clients/client2/web9 for user user1 (5009) with arguments
    Oct  4 13:16:48 localhost jk_chrootsh[19471]: ERROR: failed to execute shell /bin/bash for user user1 (5009), check the permissions and libraries of /var/www/clients/client2/web9//bin/bash
    Oct  4 13:16:48 localhost sshd[19470]: Received disconnect from 1.1.1.1: 11: disconnected by user
    Oct  4 13:16:48 localhost sshd[19464]: pam_unix(sshd:session): session closed for user user1
    
    I was setting up jailkit before installing ispconfig. Looking in the user's directory /var/www/clients/client2/web9, there even is no bin directory...

    How do I fix this?

    br
    kef
     

Share This Page