Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I have a system where users upload wsgi applications and we serve them using apache/mod_wsgi. For scaling reasons, we're simply using the WSGIDaemonProcess directive and setting them to dynamically allocated UID/GIDs. The problem is, we don't have associated users with these UIDs.

Is there a way to keep mod_wsgi from trying to determine the "user" associated with a particular UID? I can't find a directive anywhere that does this.

EDIT: Taking a look at the mod_wsgi.c source, it appears (near line 9700) that the conditional check for an entry in /etc/passwd is hard-coded.

In other words, this isn't possible.

share|improve this question
up vote 0 down vote accepted

Discussion about this on mod_wsgi mailing list at:

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.