Commit Graph

2 Commits

Author SHA1 Message Date
Luca BRUNO
94157136c2 clevis: simplify sysusers.d fragment by using default 'nologin' shell
This tweaks the existing sysuser.d fragment in order to simplify it.
The 'nologin' shell is the documented systemd default, so there is
no need to explicitly specify it.
This change allows better handling of default vs custom shell in the
macro logic which bridges between `systemd-sysusers` and `useradd`.
2022-08-05 09:32:00 +00:00
Luca BRUNO
2b2840995c
spec: add clevis sysusers.d entry
This adds a sysusers.d entry for the package, and moves user creation
to the relevant compat macro.

Refs:
 * https://www.freedesktop.org/software/systemd/man/sysusers.d.html
 * https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format
 * https://pagure.io/packaging-committee/pull-request/981
2020-12-17 10:33:25 +00:00