Re: Creating many virtual servers (jails) in Linux
From: Ringo Langly (rlangly_at_gmail.com)
Date: 31 Aug 2004 06:20:15 -0700
Jeroen Geilman <email@example.com> wrote in message news:<firstname.lastname@example.org>...
> Ringo Langly wrote:
> > Hi all,
> > I'm setting up a web server, and I'd like each user to have their own
> > virtual server so they can, as root, do whatever changes they want
> > without it effecting the server or other users as a whole.
> This does not parse - either you are root, in which case there are no
> restrictions, or you are not, in which case you are a normal user.
> If you want to achieve this in apache I'd suggest you set up mass
> virtual hosting and point the virtual document root to
> /home/$WEBSITE/html or some such.
> Then you can give them FTP access and confine them to their home dir.
> This is relatively easy compared to what you suggest.
> If you want to give users the opportunity to do administrative tasks -
> sure, just make sure your groups and permissions are set up correctly.
> No root access is needed for *any* of this.
> Understand that this is *not* a chroot "jail", since apache will still
> run as its own process, and not under the users' UID.
I hadn't heard of doing this really, but some BSD folks told me it was
possible, so I thought I'd throw the question out there. I've heard
of Linux boxes being setup as 'virtual servers' (not hosts) where each
user could somehow have their own /etc and /home directories to
configure as they like without fubing the box or other user's 'virtual
servers'. It gives the user the appearance of having their own
dedicated server without actually doing that.
I've been told this is called 'jailing' on BSD, but since I've never
messed with this part of Linux and never really messed with BSD per
say, I thought I'd throw the question out there.
Thanks for the reply and take care,
- Ringo -