Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

apache2 seem to start new processes with www-data user. How could I make it start new processes with some other user? ubuntu 11.04 by the way.

share|improve this question
up vote 2 down vote accepted

This can only be changed globally (not for single processes or vhosts) with the statements User and Group in /etc/apache2/apache2.conf. For CGI's, you can use the suexec feature to spawn processes with another user id.

share|improve this answer

Open the /etc/apache2/apache2.conf file and change User and Group to whatever user, group you want.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.