Jump to content

Novice apache permisions question


applecup

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.

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.