1SYSTEMD-LOGIND.SERVICE(8) systemd-logind.service SYSTEMD-LOGIND.SERVICE(8)
2
3
4
6 systemd-logind.service, systemd-logind - Login manager
7
9 systemd-logind.service
10
11 /usr/lib/systemd/systemd-logind
12
14 systemd-logind is a system service that manages user logins. It is
15 responsible for:
16
17 · Keeping track of users and sessions, their processes and their idle
18 state. This is implemented by allocating a systemd slice unit for
19 each user below user.slice, and a scope unit below it for each
20 concurrent session of a user. Also, a per-user service manager is
21 started as system service instance of user@.service for each logged
22 in user.
23
24 · Generating and managing session IDs. If auditing is available and
25 an audit session ID is already set for a session, then this ID is
26 reused as the session ID. Otherwise, an independent session counter
27 is used.
28
29 · Providing polkit[1]-based access for users for operations such as
30 system shutdown or sleep
31
32 · Implementing a shutdown/sleep inhibition logic for applications
33
34 · Handling of power/sleep hardware keys
35
36 · Multi-seat management
37
38 · Session switch management
39
40 · Device access management for users
41
42 · Automatic spawning of text logins (gettys) on virtual console
43 activation and user runtime directory management
44
45 User sessions are registered with logind via the pam_systemd(8) PAM
46 module.
47
48 See logind.conf(5) for information about the configuration of this
49 service.
50
51 See sd-login(3) for information about the basic concepts of logind such
52 as users, sessions and seats.
53
54 See the logind D-Bus API Documentation[2] for information about the
55 APIs systemd-logind provides.
56
57 For more information on the inhibition logic see the Inhibitor Lock
58 Developer Documentation[3].
59
61 systemd(1), systemd-user-sessions.service(8), loginctl(1),
62 logind.conf(5), pam_systemd(8) sd-login(3)
63
65 1. polkit
66 http://www.freedesktop.org/wiki/Software/polkit
67
68 2. logind D-Bus API Documentation
69 https://www.freedesktop.org/wiki/Software/systemd/logind
70
71 3. Inhibitor Lock Developer Documentation
72 https://www.freedesktop.org/wiki/Software/systemd/inhibit
73
74
75
76systemd 241 SYSTEMD-LOGIND.SERVICE(8)