Replies: 1 comment
|
Hi i just did that on raspberry pi. Create user sudo useradd -r -s /bin/false beszel Than just add in file /etc/systemd/system/beszel-agent.service into [Service] section: User=beszel And change ProtectHome to yes Than change ownership of agent binary sudo chown -R beszel:beszel /your/location/beszel-agent Than restart agent |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I've just set this up on a couple of Debian servers. The documentation mentions that the agent does not run as root, but that does not seem to be the case? I see that there are a bunch of security related directives in the unit file, so maybe it's fine, but the process does run as root. Just wanted to check whether I've misunderstood anything. If it's meant to run as root, then what is the purpose of the beszel user?
All reactions