1NSS-SYSTEMD(8)                    nss-systemd                   NSS-SYSTEMD(8)
2
3
4

NAME

6       nss-systemd, libnss_systemd.so.2 - Provide UNIX user and group name
7       resolution for dynamic users and groups.
8

SYNOPSIS

10       libnss_systemd.so.2
11

DESCRIPTION

13       nss-systemd is a plug-in module for the GNU Name Service Switch (NSS)
14       functionality of the GNU C Library (glibc), providing UNIX user and
15       group name resolution for dynamic users and groups allocated through
16       the DynamicUser= option in systemd unit files. See systemd.exec(5) for
17       details on this option.
18
19       This module also ensures that the root and nobody users and groups
20       (i.e. the users/groups with the UIDs/GIDs 0 and 65534) remain
21       resolvable at all times, even if they aren't listed in /etc/passwd or
22       /etc/group, or if these files are missing.
23
24       To activate the NSS module, add "systemd" to the lines starting with
25       "passwd:" and "group:" in /etc/nsswitch.conf.
26
27       It is recommended to place "systemd" after the "files" or "compat"
28       entry of the /etc/nsswitch.conf lines so that /etc/passwd and
29       /etc/group based mappings take precedence.
30

EXAMPLE

32       Here is an example /etc/nsswitch.conf file that enables nss-systemd
33       correctly:
34
35           passwd:         compat mymachines systemd
36           group:          compat mymachines systemd
37           shadow:         compat
38
39           hosts:          files mymachines resolve [!UNAVAIL=return] dns myhostname
40           networks:       files
41
42           protocols:      db files
43           services:       db files
44           ethers:         db files
45           rpc:            db files
46
47           netgroup:       nis
48

SEE ALSO

50       systemd(1), systemd.exec(5), nss-resolve(8), nss-myhostname(8), nss-
51       mymachines(8), nsswitch.conf(5), getent(1)
52
53
54
55systemd 243                                                     NSS-SYSTEMD(8)
Impressum