|
From: | Olivier Sessink |
Subject: | Re: [Jailkit-users] Run apache/tomcat process from a jailed user account |
Date: | Thu, 04 Jun 2009 10:52:25 +0200 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090409) |
Tanveer Chowdhury wrote:
Great. Can I do this around? Like I put apache & tomcat server both inside jail. Then can the jailuser control those processes which will be under seperate jail users like daemon and tomcat?
tricky, but this is possible.first you need to jail the apache and tomcat processes. regardless if you start them as root with jk_chrootlaunch or from a shell inside the chroot jail this is quite a bit of work already.
then you want your jailuser to start/stop them. that involves something like sudo in the jail, which can be done, but it requires a lot of dependencies in the jail before it will work.
success! Olivier
[Prev in Thread] | Current Thread | [Next in Thread] |