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

WriteFreely runs as root #85

Closed
gytisrepecka opened this issue Mar 24, 2019 · 6 comments
Closed

WriteFreely runs as root #85

gytisrepecka opened this issue Mar 24, 2019 · 6 comments

Comments

@gytisrepecka
Copy link
Contributor

Based on system service configuration file provided in production documentation, writefreely binary will run under root system user. To fix this, make sure to add following parameters in Service section:
User=writefreely
Group=writefreely
After systemctl daemon is reloaded, you will see writefreely binary now runs under corresponding user:
ps aux | grep writefreely

@gytisrepecka
Copy link
Contributor Author

Full configuration file here: https://gist.github.com/gytisrepecka/557660aed94afebec68c0a2432ae348e

@thebaer
Copy link
Member

thebaer commented Mar 26, 2019

For this, we'll also need to update the documentation to include the creation of the writefreely user, right? Would you mind creating an issue for this in the documentation repo?

@gytisrepecka
Copy link
Contributor Author

Yes, I can document that.

@thebaer
Copy link
Member

thebaer commented Apr 5, 2019

Going to close this out since it isn't a bug. Let's continue discussing this on the documentation repo.

@thebaer thebaer closed this as completed Apr 5, 2019
@cburkert
Copy link

Its 2023 and the installation guide still leads users to an instance running fully as root.
I couldn't find any continuation of this discussion on the documentation repo.
Could anyone please give me a pointer or did the discussion end here?

@thebaer
Copy link
Member

thebaer commented Jan 23, 2023

We still need to update the documentation, yes. Please open an issue in that repo so we can discuss it and update the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants