nikstur / userborn

Declaratively bear (manage) Linux users and groups
MIT License
48 stars 1 forks source link

Is userborn compatible with systemd-homed /home/ scheme? #1

Open nyabinary opened 3 months ago

nyabinary commented 3 months ago

So systemd-homed has portable home directories, does userborn have that as well? It would be nice to be able to just carry your home directory and such and be compatible with any systemd-homed enabled system. (I apologize if this is a bit off-topic.)

nikstur commented 3 months ago

It's compatible in the sense that you can have users managed by Userborn (in /etc/{group,passwd,shadow}) AND have systemd-homed enabled (which manages Users via nss-systemd).

However, userborn doesn't do anything for homed. Really the best way to think about Userborn is that it works like systemd-sysusers plus some extra features and thus fits nicely into the rest of the systemd universe.

One reason why homed cannot replace Userborn is that homed cannot be used non-interactively to manage users.