Is it possible to run apache as a non-root user?

Solution Verified - Updated -

Issue

  • For some customers it's not necessary to run Apache as root since they use ports > 1024 (unprivileged ports) and thus do not expose Apache to possible security threats.
  • I have installed Apache server and by default it is running as root, I would like to run this as non root user

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 5.x
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.