On 5/19/06, Gaby vanhegan <[EMAIL PROTECTED]> wrote:
Hi,
I have a new server (2.66Ghz Core Duo) with a spangly new LSI
MegaRaid card (disable pcibios made it boot happily using bsd.mp),
and once we'd found the broken stick of RAM everything's happy (dmesg
at end)

I have a systems question, relating to apache.  I would like to run
apache chrooted, but users need access to their both home directories
in /home, and their web directory in /var/www/home/wherever.  Ideally
I'd like to do this under one login per user, but I can't think how
to setup the system so they can access /home, and their chrooted area
with one account.

I don't want to put the entire /home partition into the chroot, that
leaves everybody's files vulnerable if apache/php gets haxored.  I
could just keep each users websites folder in the chroot, but then
sftpd or ftpd (both chrooted) won't be able to see them either.

I can't think of a way round this, to have chrooted access, with
files in separate locations, accessible under one login.  Does
anybody have any suggestions?

Would hardlinking /home into /var/www/home help? I don't know all the
details of chroot so I don't know if this would work.

-Nick

Reply via email to