Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2001 22:24:39 -0400
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        "Alex Toushek " <toushek@canadiangeneral.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Security
Message-ID:  <01082022243903.00565@i8k.babbleon.org>
In-Reply-To: <200108202104.AA197657018@mail.canadiangeneral.com>
References:  <200108202104.AA197657018@mail.canadiangeneral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 20 August 2001 21:04, Alex Toushek  wrote:
> How do I setup the file structure so that the users and apache can
> access anything in the users home directory or sub-dirs off of the
> users home, but not letting them leave their home dir. This also
> goes for wuftpd? I've played around abit with using the -r with
> bash but, the user could not go into any of their own sub-dirs.
> I've also played with permissions but then apache could not find
> the files for their web sites? I am pretty pickled here, any
> assistance would help!!!

Use jail to give them access to just this area.
The easiest way to ensure that they get noplace else is probably to set up a 
fake "shell" that sets up a jailed version of your favorite shell.

man jail for more info.

>
> Alex
>
> ________________________________________________________________
> Sent via the Cangen WebMail Service at mail.canadiangeneral.com
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)

--------------------> Free Dmitry Sklyarov! <-------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01082022243903.00565>