Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.