Install Jailkit after ISPConfig

Discussion in 'General' started by scuzzu, Nov 25, 2010.

  1. scuzzu

    scuzzu New Member

    Hello,

    I have ISPConfig 3.0.3 installed but Jailkit is not installed.
    I see the feature when adding SSH users in ISPConfig but it does not have any effect.
    I read somewhere Jailkit must be installed prior to ISPConfig. :confused:
    Is that true ?
    What can I do ?

    Thank you,
    Fred
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    yes.

    Install jailkit, then download the ispconfig tar.gz and run the update.php script and select to reconfigure services during update.
     
  3. scuzzu

    scuzzu New Member

    Thank you Till, I'll do that since I have no choice.
    There are some websites configured on the server.
    Will I loose anything after this update ?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    No, you won't. :)
     
  5. scuzzu

    scuzzu New Member

    Hello,

    I have installed jailkit using your procedure on the ISPConfig manual (changed jailkit-2.5 by jailkit-2.13, and automake1.9 by automake1.10).

    I did and update of ISPConfig from 3.0.3 to 3.0.3.1 using the ispconfig_update.sh script by reconfiguring the services.

    Now I do
    Code:
    ks33054:~# jk_list
    Pid    User    Jail               Command                                  
    25201  postfix /var/spool/postfix /usr/lib/postfix/pickup -l -t fifo -u -c 
    26361  postfix /var/spool/postfix /usr/lib/postfix/tlsmgr -l -t unix -u -c 
    27779  postfix /var/spool/postfix /usr/lib/postfix/anvil -l -t unix -u -c  
    ks33054:~# jailkit
    -bash: jailkit: command not found
    But If I setup a shell user with Chroot Shell from None to Jailkit, then when I connect to the server by ssh with this user, it can still browse all the directories.

    Do I need to configure something in command line ?

    Thank you,
    Fred
     

Share This Page