Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 17th October 2012, 01:50
snowfly snowfly is offline
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 7 Times in 5 Posts
Default Trying to add Zip & Unzip to Jailkit for Shell Users - WORKING

I am trying to add the additional command line apps 'zip' and 'unzip' to jailket for Shell users, but can't get it to work.

ISPConfig version

In ISPConfig I edited the Server Config, Jailkit Tab:
In the "Jailkit chroot app sections" box I added at the end: zip unzip

And in the "Jailkit chrooted applications" box I added at the end: /usr/bin/zip /usr/bin/unzip

Added a new shell user, logged in ok, but no zip or unzip available.
Checked in the /bin directory for shell user, no zip programs there.

Is there a step I am missing?
Do I need to copy the application executables to somewhere else on the server?

Last edited by snowfly; 17th October 2012 at 02:30.
Reply With Quote
Sponsored Links
Old 17th October 2012, 02:29
snowfly snowfly is offline
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 7 Times in 5 Posts

UPDATE: Now working.

After a lot of messing around, the following steps managed to work:

1. Remove the additional command I added via ISPConfig "Server Config", in the "Jailkit chroot app sections" and "Jailkit chrooted applications" boxes.

2. As root on the server, edit /etc/jailkit/jk_init.ini
Under [basicshell], appended the following to "executables":
,/usr/bin/zip, /usr/bin/unzip

3. Restarted jailkit
4. Added a new website via ISPConfig
5. Added a new Shell user, zip and unzip now working
Reply With Quote
Old 17th October 2012, 09:38
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts

You can also add applicationsmanually to existing sites with the "jk_cp" command on the shell.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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
creating a jailkit user fails Justin Albstmeijer General 5 30th August 2011 18:02
Add DNS to a "Virtual Users And Domains" installation, and finish with ISPConfig Nuxeretes Installation/Configuration 4 2nd March 2006 15:02
Manually add users daashag Installation/Configuration 3 28th January 2006 07:53
Ability to add components for users webstergd Feature Requests 1 20th December 2005 11:25
Add Users to webmail meetec Installation/Configuration 2 17th October 2005 15:36

All times are GMT +2. The time now is 19:30.

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