[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] Some problems with home directories and users with s

From: Olivier Sessink
Subject: Re: [Jailkit-users] Some problems with home directories and users with same user id
Date: Sun, 08 Jun 2008 11:48:26 +0200
User-agent: Thunderbird (X11/20080502)

Daniel Rossi wrote:

ive worked around it by setting USER and HOME to $LOGINUSER or whatever it is in bashrc. Then call cd to move into the right directory. So ownership of the files should still be ok without the same user id ? I believe if the files are owned different to that uid suexec for instance in apache will complain hence why its that that way. I see in the jk_chroot source that the environment variables are set there, but instead of the user logging in its the user of the user id. Are you saying my work around is not doable ?

if it works that it's doable ;-)

I think it's also possible to rewrite some of the jk_chrootsh code such that such a setup will work with jk_chrootsh without sacrificing any of the security checks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]