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

Docs/non root user with systemd #269

Merged
merged 3 commits into from
Jul 7, 2023
Merged

Docs/non root user with systemd #269

merged 3 commits into from
Jul 7, 2023

Conversation

boenshao
Copy link
Contributor

@boenshao boenshao commented Jul 5, 2023

Related to #186 (comment).

Quote me,

A typical use case is storing configurations and tokens under /etc/rathole/xxx.toml with permission set to 0600, that is, only the root user (or owner) can read the file. Preventing arbitrary users on the system from accessing the token. Yet with DynamicUser=yes the rathole process spawned by systemd won't have the privilege to read the file either.

This PR update the document with a more comprehensive systemd setup without root privilege.

Copy link
Owner

@rapiz1 rapiz1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! I may be nitpicking but there's an unnecessary change.

examples/systemd/README.md Outdated Show resolved Hide resolved
@rapiz1 rapiz1 merged commit 7923dec into rapiz1:main Jul 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants