5 ms·
But you have to be root to install a systemd unit in the first place...
by db48x 9y ago
But you have to be root to install a systemd unit in the first place...
- falcolas 9y agoThere are also user-level unit files; can this bug be triggered by those? EDIT: No; it acts as if the 'User=' directive doesn't exist.
- digi_owl 9y agoAnd? What is going on here is that an admin thinks he has shored up the service defined in the service file, because hey, it runs. Only to later have the server 0wned because apparently it was running as root the whole time...
- CodeWriter23 9y agoDoesn't mean I want systemd silently escalating my process to root when I think I've told it to contain privileges of the process to a specific userid. Clearly the correct behavior for such a program is to throw an error if it is rejecting a username for ANY reason, even when that reason is supported by stilted reasoning.
- chronid 9y agoBreaking expectations is not a reasonable default.