Click to See Complete Forum and Search --> : user under which apache and tomcat run??


Sridhar Guntur
10-19-2002, 01:19 PM
i have changed User and Group in httpd.conf file to the non-root user that i usually log into.and i su - and made httpd service to start at startup (by service configuration gui). now the apache server is running fine at startup. Is this the right way of running apache under the user i frequently log into or is there a better way? i also want to run tomcat and postgresql what changes should i make so that there wont be any conflict between users running these different services.can i make these 3 services to be run as the non-root user that i frequently log into?

this forum has always been helpful to me and i am sincerely thankful to all of the users of this forum.

mychl
10-21-2002, 04:17 PM
I think that is a bad thing, as your account has a shell that can run commands... usually apache will run as apache or nobody, both of those accounts do not have a shell, so if you get hacked, your server can't be used to run commands on your system....

If I were you I would have apache run as either apache or nobody users.....