Super User is a question and answer site for computer enthusiasts and power users. 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

I'm pretty beginner-level at Linux, and one thing I've always wondered was whether things like Nginx / uWSGI (for a Django project) should be run under a user that was created for that purpose, or whether my normal login that I use to SSH to the server should be used.

share|improve this question
up vote 5 down vote accepted

whether things ... should be run under a user that was created for that purpose

Yes, they must run under special user, because, as widely-announced processes in wild, if they (and only they) will be someway compromised (memory-injection as example) they can perform actions on system only with permissions|possibilities of such user (which usually have minimal rights outside own area)

share|improve this answer
"Must" is a bit strong. A special account is prudent for sure - but his account will work. – uSlackr Mar 8 '12 at 14:41
Must will say every security-concerned admin. Loser user may have any opinion... and adventures on ass later – Lazy Badger Mar 8 '12 at 14:47

Apache will have the same privileges as the user it runs as. For security reasons, you want to limit the access Apache has to only the particular files it needs to serve the pages you want. Whereas your user account will generally have a broader set of rights.

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.