Finding out what user Apache is running as?
Posted
by Anna
on Server Fault
See other posts from Server Fault
or by Anna
Published on 2010-03-24T16:22:31Z
Indexed on
2010/03/24
16:33 UTC
Read the original article
Hit count: 488
apache
I want to secure a file upload directory on my server as described beautifully here, but I have one problem before I can follow these instructions. I don't know what user Apache is running as.
I've found a suggestion that you can look in httpd.conf and there will be a "User" line, but there is no such line in my httpd.conf file, so I guess Apache is running as the default user. I can't find out what that is, though.
So, my question is (are):
- how do I find out what the default user is
- do I need to change the default user
- if the answer is yes and I change the default user by editing httpd.conf, is it likely to screw anything up?
Thanks!
----- UPDATE ------
Seems to have been answered here. Sorry, I got told off on StackOverflow and told to post it here, then posted it here, then it got answered on StackOverflow anyway!
© Server Fault or respective owner