![]() |
installing apache in ~ of a normal user
Hi,
I am building apache2.2 from source, would installing in /home/USER_NAME, be a bad idea? thanks |
Greetingz!
Although that wouldn't be "bad" per se, as UNIX can be quite flexible, there's a few things you'll want to keep in mind; 1) In order to run a webserver on a port under 1024, the user in question is going to need some extra rights. Typically this is handled by a startup script (in /etc/init.d or /etc/rc.d), which calls httpd as root, then spawns child-processes using a different account. This is called "Privledge separation". Example: Code:
luser@lhost$ ps -ef | grep httpd3) If this is going to be any type of "standard" for your systems (rather than just a one-shot experiment), then you may want to avoid just dropping things into a user's home directory. |
| All times are GMT -5. The time now is 10:25 AM. |