3 ms·
Typically the `User=` directive is used to specify what the user the service runs in. There is still a benefit to requiring root to create the service file tho
by markstos 3y ago
Typically the `User=` directive is used to specify what the user the service runs in.
There is still a benefit to requiring root to create the service file though: If the service is compromised when it's running as `User=`, it can't modify the systemd service file itself, which is owned by root.