Submitted by hescominsoon on Wed, 12/26/2018 - 21:47 Pro Licensee
I have a client that is trying to run unzip from their jail but they get the error bash: unzip: command not found. Unzip is installed on the server. Any ideas?
Status:
Closed (works as designed)
Comments
Submitted by JamieCameron on Fri, 12/28/2018 - 00:02 Comment #1
The way to do this is to add an extra section to
/etc/jailkit/jk_init.ini
that looks like :[unzip]
comment = ZIP utilities
paths = zip, unzip
Then edit
/etc/webmin/virtual-server/config
and add the linejail_sects=unzip
at the end.Submitted by hescominsoon on Sun, 02/03/2019 - 17:07 Pro Licensee Comment #2
can this be added to future virt versions by default? I am just not willing to risk future problems trying to modify virtualmin from it's default state anymore.
Submitted by andreychek on Sun, 02/03/2019 - 19:35 Comment #3
Passing this to Joe for review
There is an editor for jail configuration GUI in Webmin; you can create whatever kind of jail you need (or any number of jails, if you have different kinds of users). It's under System->Jailkit Jail Manager.
I am somewhat ambivalent about adding things to the default jail, since it is so easy to add things, and it's also highly variable which binaries people will want/need. unzip isn't a crazy thing to include...at some point, though, we do have to draw a line about what the default jail contains.
And, to be clear, this isn't modifying Virtualmin. This is a configuration file. There's lots of them, and you can't use Virtualmin at all without modifying some config files.
Submitted by hescominsoon on Sun, 02/03/2019 - 19:56 Pro Licensee Comment #6
All of the issues I have had is changing a configuration from it's default either through the interface or directly as was proposed. Here lately I have had multiple major issues from minor changes from it's default...nothing exotic and all within virts marketed capabilities. I do not care how the file is modified it is modified...and virt has bombed on me because of it. So please consider this a feature request.
Submitted by hescominsoon on Mon, 02/04/2019 - 14:23 Pro Licensee Comment #7
No dice here. Searching for Jail Manager . . . found 0 results :
No Webmin modules or pages matching Jail Manager were found.
Submitted by hescominsoon on Mon, 10/14/2019 - 12:07 Pro Licensee Comment #8
k
Submitted by hescominsoon on Mon, 02/04/2019 - 14:29 Pro Licensee Comment #9
jailkit jail manager is in my unbuntu install but not the centos install. They are both running 6.05. the UI's between centos and ubuntu are both completely different as well.
Submitted by hescominsoon on Sat, 10/12/2019 - 22:33 Pro Licensee Comment #10
never mind
Submitted by hescominsoon on Sat, 10/12/2019 - 22:33 Pro Licensee Comment #11