Alan Porter wrote:
Alternately, you could get even more amusing, and run apache as the
user "donotreply". :) This is as easy as changing the username in
/etc/passwd and maybe an init script or two. :)
I tried this on a Debian box last year and it blew up in my face.
I wanted apache to run as a user named "apache". Go figure.
There are places in the apache source (or perhaps this was one of
the Debian mods) that specifically requires the user to be "www-data".
I forget the details... it might have dealt with running CGI scripts.
Anyway, I decided that the easiest solution was to leave the user
name as-is.
But then again, that might be what Aaron considers to be "amusing".
Alan
.
I don't think it's integrated too tightly into the code:
$ ps axu | grep httpd
root 1059 0.0 1.6 18620 3636 ? S Jun26 0:07
/usr/sbin/httpd
apache 26636 0.0 1.7 18752 3968 ? S Sep20 0:01
/usr/sbin/httpd
But then again, this is apache1.3 not apache2. The first box I looked
at was debian w/ user www-data running apache2. Perhaps it's something
in the newer version? That seems unlike the apache software foundation,
or any good unix daemon, for that matter.
Aaron S. Joyner
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/