Hi,

I’m just asking because of the latest “not-a-bug” [1]. As far as I know, there 
aren’t many services that need full root access (maybe for getting a low port 
number). Except for that I don’t see many use cases. Therefore, I think it 
would be useful to make the decision for root access more explicit, e.g. 
User=root is needed to start units as root. Also I don’t think it is a sane 
default is to start any unit as root when there is no valid User property. Even 
the security of systemd would benefit because it would save people from 
accidentally running services as root.

Regards,
Mariusz Wojcik

[1]: https://github.com/systemd/systemd/issues/6237
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to