1SYSTEMD-USERDBD.SERVICE(8) systemd-userdbd.service SYSTEMD-USERDBD.SERVICE(8)
2
3
4
6 systemd-userdbd.service, systemd-userdbd - JSON User/Group Record Query
7 Multiplexer/NSS Compatibility
8
10 systemd-userdbd.service
11
12 /usr/lib/systemd/systemd-userdbd
13
15 systemd-userdbd is a system service that multiplexes user/group lookups
16 to all local services that provide JSON user/group record definitions
17 to the system. In addition it synthesizes JSON user/group records from
18 classic UNIX/glibc NSS user/group records in order to provide full
19 backwards compatibility.
20
21 Most of systemd-userdbd's functionality is accessible through the
22 userdbctl(1) command.
23
24 The user and group records this service provides access to follow the
25 JSON User Record[1] and JSON Group Record[2] definitions. This service
26 implements the User/Group Record Lookup API via Varlink[3], and
27 multiplexes access other services implementing this API, too. It is
28 thus both server and client of this API.
29
30 This service provides two distinct Varlink[4] services:
31 io.systemd.Multiplexer provides a single, unified API for querying JSON
32 user and group records. Internally it talks to all other user/group
33 record services running on the system in parallel and forwards any
34 information discovered. This simplifies clients substantially since
35 they need to talk to a single service only instead of all of them in
36 parallel. io.systemd.NameServiceSwitch provides compatibility with
37 classic UNIX/glibc NSS user records, i.e. converts struct passwd and
38 struct group records as acquired with APIs such as getpwnam(1) to JSON
39 user/group records, thus hiding the differences between the services as
40 much as possible.
41
43 systemd(1), nss-systemd(8), userdbctl(1), systemd-homed.service(8)
44
46 1. JSON User Record
47 https://systemd.io/USER_RECORD
48
49 2. JSON Group Record
50 https://systemd.io/GROUP_RECORD
51
52 3. User/Group Record Lookup API via Varlink
53 https://systemd.io/USER_GROUP_API
54
55 4. Varlink
56 https://varlink.org/
57
58
59
60systemd 248 SYSTEMD-USERDBD.SERVICE(8)