декларативное распределение пользователей и групп системы (Declarative allocation of system users and groups)
Имя (Name)
sysusers.d - Declarative allocation of system users and groups
Синопсис (Synopsis)
/etc/sysusers.d/*.conf
/run/sysusers.d/*.conf
/usr/lib/sysusers.d/*.conf
#Type Name ID GECOS Home directory Shell
u user_name uid "User Description" /home/dir /path/to/shell
u user_name uid:gid "User Description" /home/dir /path/to/shell
u user_name /file/owned/by/user "User Description" /home/dir /path/to/shell
g group_name gid
g group_name /file/owned/by/group
m user_name group_name
r - lowest-highest
Описание (Description)
systemd-sysusers
uses the files from sysusers.d directory to
create system users and groups and to add users to groups, at
package installation or boot time. This tool may be used to
allocate system users and groups only, it is not useful for
creating non-system (i.e. regular, "human") users and groups, as
it accesses /etc/passwd and /etc/group directly, bypassing any
more complex user databases, for example any database involving
NIS or LDAP.