chroot and user home directories?
From: LRW (deja_at_celticbear.com)
Date: 03/16/04
- Next message: Maurice Batey: "Knode newsreader"
- Previous message: GerryF: "Sound Problem in SuSE Linux 9.0"
- Next in thread: Jim Richardson: "Re: chroot and user home directories?"
- Reply: Jim Richardson: "Re: chroot and user home directories?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Mar 2004 13:38:25 -0800
We're setting up a new RedHat ES2.1 server and migrating the old web
server to it.
The old server, they have set up to have Apache use the /home
directory as the HTTPD home directory. And new virtual directories,
sites we host, get a subdirectory and an entry in httpd.conf, and a
user account to be able to FTP into their directory (and not able to
move up out of it.)
Now, I want to leave the new server's Apache root in its default
location: /var/www/html and then folders for additional sites under
that.
But, how do we make it so that user accounts we create for those
hosted sites have their home in their instead of /home?
So, /var/www/html/subfolder instead of /home/subfolder will be the
user's root or "/" folder?
Someone somewhere mentioned chroot, but I read the MAN, looked it up
in "Linux in a Nutshell", and read some sites I found like:
http://www.linuxsecurity.com/docs/www-security-faq/wwwsf3.html#SVR-Q5
And I must be an idiot, yes I am, because I can't quite suss how it
can be used in this situation.
Any suggestions? Clue-by-fours?
Thanks!
Liam
- Next message: Maurice Batey: "Knode newsreader"
- Previous message: GerryF: "Sound Problem in SuSE Linux 9.0"
- Next in thread: Jim Richardson: "Re: chroot and user home directories?"
- Reply: Jim Richardson: "Re: chroot and user home directories?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|