Evening guys,
Being that I am new to Apache (switching from Solaris/Zeus) I have picked up a few books on how it operates. Currently I am reading "Preventing Web Attacks with Apache", on Chapter 2, pg 30 it mentions that you should setup a specific user and group to run Apache and NOT to use nobody:nobody.
Looking at my '/usr/local/apache/conf/httpd.conf' file I notice that cPanel uses nobody for both group and user:
User nobody
Group nobody
Should I create a new group and change the httpd.conf file? What do you guys at cPanel think (I am new here, and trust your judgment)? Could this be an option in WHM (or maybe it is and I missed it) to choose the user/group & password for apache to run under.
Being that I am new to Apache (switching from Solaris/Zeus) I have picked up a few books on how it operates. Currently I am reading "Preventing Web Attacks with Apache", on Chapter 2, pg 30 it mentions that you should setup a specific user and group to run Apache and NOT to use nobody:nobody.
"The 'nobody' userid and group that comes default on UNIX variants should not be used to run the web server. The 'nobody' account was originally introduced as a means to map the 'root' account over NFS. Due to the underlying association between the 'nobody' and 'root' accounts, it is best to create new accounts for the sole purpose of running the web server"
Looking at my '/usr/local/apache/conf/httpd.conf' file I notice that cPanel uses nobody for both group and user:
User nobody
Group nobody
Should I create a new group and change the httpd.conf file? What do you guys at cPanel think (I am new here, and trust your judgment)? Could this be an option in WHM (or maybe it is and I missed it) to choose the user/group & password for apache to run under.
Last edited: