[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] Run apache/tomcat process from a jailed user accoun
Re: [Jailkit-users] Run apache/tomcat process from a jailed user account
Thu, 4 Jun 2009 06:07:22 +0600
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?
On Thu, Jun 4, 2009 at 2:03 AM, Olivier
> Tanveer Chowdhury wrote:
>> Thanks for your reply.
>> Apache is run as daemon and which is outside the jail and run using
>> Now please help me on how to run this apache using the jail user.
>> I tried with sudo but it says this:
>> sudo: unable to initialize PAM: No such file or directory
> 1) a user inside a jail cannot control a process outside the jail. It
> can be used to escape the jail, so why then use a jail after all?
> Perhaps two different users suit your needs?
> 2) sudo inside a jail is tricky, it needs a lot. For example all pam
> libraries and subsystems. I wouldn't recommend to do it unless you're
> experienced with chroot jails.
> Jailkit-users mailing list