|
|
Subscribe / Log in / New account

User=0day considered harmful in systemd

User=0day considered harmful in systemd

Posted Jul 13, 2017 14:30 UTC (Thu) by giggls (subscriber, #48434)
In reply to: User=0day considered harmful in systemd by dskoll
Parent article: User=0day considered harmful in systemd

Using a system where the user account data comes from a database (ldap, ...) instead of a plain file might be a valid use case even for system accounts.

Especially when they need to have the same userid across different machines.

I used to do this for the sudo group in some setups.


to post comments

User=0day considered harmful in systemd

Posted Jul 14, 2017 10:52 UTC (Fri) by dskoll (subscriber, #1630) [Link]

In that case, those unit files should depend on the databases being started first and should be re-parsed at that time. It gets a bit ugly... you need to parse the unit files once to get dependencies and not care about unknown users at that point, but care about unknown users when you actually go to start the service. I think it's manageable, though.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds