Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Change uwgsi.xml uid to 1014 #46

Open
nukeador opened this issue Sep 3, 2013 · 6 comments
Open

Change uwgsi.xml uid to 1014 #46

nukeador opened this issue Sep 3, 2013 · 6 comments
Milestone

Comments

@nukeador
Copy link
Member

nukeador commented Sep 3, 2013

We are isolating each web with a different user and we need mozbuzz to be under uid 1014.

This should be applied on production branch.

@nukeador
Copy link
Member Author

nukeador commented Sep 3, 2013

Don't apply this yet. We are figuring out some stuff on server side to make it works.

@sebasmagri
Copy link
Member

@nukeador any news on this matter?

@nukeador
Copy link
Member Author

No, @willyaranda do we know how to do this safely per virtualhost?

@willyaranda
Copy link
Member

Not really, but the idea would be:

  • Add a <uid>www-data</uid> and <gid>www-data</gid> to the uwsgi.xml, and make sure all directory is readable by that user.
  • Make that nginx is capable of reading the socket (it can be put on /tmp for example)

But I don't have any free time this week.

@sebasmagri
Copy link
Member

@nukeador @willyaranda is this still necessary now that we're deploying a wsgi script and recommended uwsgi setup?

@nukeador
Copy link
Member Author

Yes, we want uwgsi to run under a specific user but we need time to figure out how.

Can we put this on-hold?

@sebasmagri sebasmagri modified the milestones: 2.2.0, 2.0.0 Dec 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants