Running apache as root at startup
Hi
I've been told that I should run apache as root to be secure. Although it doesn't sound safe, aparrently all apache child processes will be run as user, so it is safe.
I'd like apache to run automatically upon boot. Usually I'd add a line to .bash_profile, but in order to run it as root I'd have to type the following into .bash_profile
su -
mypassword
/usr/local/apache2/bin/apachectrl start
It can't be secure to store my root password in .bash_profile, surely. How else should I do this?
Thanks,
|