Expand Jailkit applications for jailed users in ISPConfig 3

Discussion in 'HOWTO-Related Questions' started by dpicella, Aug 18, 2010.

  1. dpicella

    dpicella New Member

    I want to expand the applications that my ISPConfig 3 jailed users have access to.

    By default, I want to add svn and the expect shell

    I put this at the bottom of /etc/jailkit/jk_init.ini

    comment = the subversion program
    executables = /usr/bin/svn
    includesections = netbasics
    comment = dpicella shell addons
    executables = /bin/expect
    includesections = netbasics, uidbasics
    Then create a new shell user. Seems like that worked before. Does anyone know if I am doing this right for ISPConfig 3

  2. falko

    falko Super Moderator ISPConfig Developer

    That could work, but remember that you must add svn and dshell to the Server Config in ISPConfig (it's the field Jailkit chroot app sections on the Jailkit tab).
  3. dpicella

    dpicella New Member

  4. dpicella

    dpicella New Member

    It works.

    The procedure is:

    Modify jk_init.ini
    To get the expect shell working ... I needed:
    comment = dpicella shell addons
    paths = /usr/lib/tcl8.4
    libraries = /usr/lib/libexpect5.43.so, /lib64/libgcc_s.so.1
    executables = /usr/bin/expect
    includesections = netbasics, uidbasics
    Then ... add custom or modified sections (in this case "svn" and "dshell") to your list of chroot app sections in ispconfig 3 at: system -> server config -> jailkit

    It only seems to work when installing a new website. I don't seem to get all the updates to my chrooted jail applications when changing or modifying users.

    Both SVN and the expect shell seem to be working ... However, if I log in as a jailed user and try to spawn an sftp session using the expect shell, I get this error:

    Last edited: Aug 20, 2010

Share This Page