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.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th October 2012, 00:50
snowfly snowfly is offline
Member
 
Join Date: Jul 2006
Posts: 91
Thanks: 0
Thanked 4 Times in 3 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 3.0.4.6

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 01:30.
Reply With Quote
Sponsored Links
  #2  
Old 17th October 2012, 01:29
snowfly snowfly is offline
Member
 
Join Date: Jul 2006
Posts: 91
Thanks: 0
Thanked 4 Times in 3 Posts
Default

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
  #3  
Old 17th October 2012, 08:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
 
Default

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
Reply

Bookmarks

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 17:02
Add DNS to a "Virtual Users And Domains" installation, and finish with ISPConfig Nuxeretes Installation/Configuration 4 2nd March 2006 14:02
Manually add users daashag Installation/Configuration 3 28th January 2006 06:53
Ability to add components for users webstergd Feature Requests 1 20th December 2005 10:25
Add Users to webmail meetec Installation/Configuration 2 17th October 2005 14:36


All times are GMT +2. The time now is 01:03.


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