Jump to content

Recommended Posts

I believe there are two (if not more) levels of permission to run apache under. I think one is equivalent to anonymous or a very restricted user. I think the other is equivalent to root, running under sudo possibily? Can someone tell me what benefits are there to running under root, what benefits there are to running under anonymous and why you would choose one or the other.

Link to comment
https://forums.phpfreaks.com/topic/407-novice-apache-permisions-question/
Share on other sites

i don\'t have an exact answer... the info escapes me... in any case -- running apache as root is not recommended at all. the dangers outweigh the advantages. apache running as root could do whatever it pleased with the system; one bug or one exploit and your system is toast. the benefits of running under a \"nobody\" type user: the user has no login to the system and very little rights; although, within the document root it is the big cheese and you are still flexible in that area. also, when coding the user will be denied access to important files and if you make a typo or are trying something out - you are still safe. you can always go in the system and chmod if need be or do some group shifting.

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.