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 220.127.116.11
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?
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":
3. Restarted jailkit
4. Added a new website via ISPConfig
5. Added a new Shell user, zip and unzip now working
You can also add applicationsmanually to existing sites with the "jk_cp" command on the shell.
|All times are GMT +2. The time now is 11:02.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.