View Full Version : jailed shell
kipper3d
10-14-2004, 08:39 AM
Hello,
I really need this feature. People are signing up for java hosting faster than I expected and am getting nervous with them running /bin/bash
Let me know if and when you start working on this, Ill need to get you a list of libraries that java uses to add for the chroot account.
Thanks!
IWorx-Chris
10-15-2004, 05:40 AM
John,
Once we get the next release out the door we'll be focusing on version 2 updates which we'll try to get it into. In the meantime if you wanted to set it up on your box and give us feedback that'd be helpful. I'd even help you out as I get time before it's officially in iworx.
Chris
kipper3d
10-15-2004, 07:01 AM
Hello Chris,
Sounds like an idea, yes will help you with it and give you feedback. Just let me know when your ready.
I also have shared jsp ready for you.
Thanks!
IWorx-Chris
10-18-2004, 01:16 AM
How Friday John? I'll be out of town this week until then. Look forward to chatting with you again :).
Chris
mpower
10-20-2004, 12:57 PM
Hello,
Java hosting- i assume you installed tomcat and compiled a link(jr2) btwn that and apache?
kipper3d
11-03-2004, 05:02 PM
Hello,
I decided best to not bother with jailed shell. More hassle than necessary and users cant get into other users /home/user which is how I hide sensitive configurations.
Yes I got tomcat and mod_jk2 working - shared tomcat with servlets is another issue though. I can get it to work using webapps dir outside of html dir, but then subdomains dont work as they are strictly in html dir as interworx has this setup. So I try to make html the webapps dir for shared, where jsp works fine but servlets do not. (through mod_jk2 that is) Works fine with my shared jsp preview link using ip:port/domain.com/servlet/
kipper3d
12-26-2005, 10:06 AM
Hello,
I've started looking at how the jailed shell works on interworx. I have noticed there is a limited amount of commands one can run - especially the stop and start of users site container.
How do I enable certain commands in shell for users using jailed shell?
Thanks!
IWorx-Chris
12-26-2005, 12:49 PM
Use the jk_cp command:
from a root shell:
# jk_cp /chroot /usr/bin/command-you-want-to-install
Chris
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.