Jump to content

accessing /root home dir


MK27

Recommended Posts

I'm using apache to work on some cgi stuff at home (linux) -- ie. there are no security issues.  I noticed that since apache is not running as root, I can't access /root.  So I tried changing User and Group in http.conf to root, and I get this:

 

Apache has not been designed to serve pages while\n\trunning as root.  There are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you still desire to serve pages as root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then rebuild the server.

 

This is just the FC10 "out-of-box" build.  I imagine there is no way around the issue, but it doesn't hurt to ask...

Link to comment
https://forums.phpfreaks.com/topic/144493-accessing-root-home-dir/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.