Is running apache as a root is a security risk?
Answers were Sorted based on User's Feedback
Answer / abhay
No.root process opens port 80, but never listens to it, so
no user will actually enter the site with root rights. If
you kill the root process, you will see the other kids
disappear as well.
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / josey
Yes it is a big risk, it is always advisable to have it as
a sperate UID AND GID
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / abner
To open a standard port (http 80) one should have "root"
privilege.
This process running as root isn't used to establish a 3 way
handshake with hosts.
| Is This Answer Correct ? | 2 Yes | 2 No |
What is httpd command?
What is an apache logs?
Explain about mod_vhost_alias?
What is apache scoreboard?
What is apache child process?
Who is initial author of apache?
How does systemd work?
what is meant by a struct and its purpose with an example program?
This is very strange. I am running apache 2.2 (compiled with gcc and all default params) on AIX 5.2.0.6 - 64 bit kernel. I edit the httpd.conf file to listen on two different ports -- Listen 8000 Listen 8001 The server will not start no errors or anything it just accepts the command but nothing starts. I can comment out on of the entires and everything starts up just fine minus the commented out port. Listen 8000 #Listen 8001 So, my problem is that I cannot get apache to listen on two ports, any ideas? Has someone else seen this before? Thanks,
What is the use of mod_perl module?
Is apache a httpd?
What is apache process?