FG
💻 Software

Running Apache as a different user

Fresh5 days ago
Mar 15, 202685775 views
Confidence Score0%
0%

Problem

When I run the command to list out all the process, I can see Apache running as and seems to have sub-processes running as . Here's the excerpt: Can I make Apache and all sub-processes run as different user ? If so how? I read somewhere that the settings for this can be found in but that file seems…

Error Output

root     30117     1  0 09:10 ?        00:00:00   /usr/sbin/apache2 -k start
www-data 30119 30117  0 09:10 ?        00:00:00     /usr/sbin/apache2 -k…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Running Apache as a different user

Low Risk

Apache has to run as root initially in order to bind to port 80. If you don't run it as root initially then you cannot bind to port 80. If you want to bind to some port above 1024 then yes, you can. Otherwise don't worry about root. That is the pare…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment