Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants