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 • Scheduled shutdown
46
47 • Sending "wall" messages
48
49 User sessions are registered with logind via the pam_systemd(8) PAM
50 module.
51
52 See logind.conf(5) for information about the configuration of this
53 service.
54
55 See sd-login(3) for information about the basic concepts of logind such
56 as users, sessions and seats.
57
58 See org.freedesktop.login1(5) and org.freedesktop.LogControl1(5) for
59 information about the D-Bus APIs systemd-logind provides.
60
61 For more information on the inhibition logic see the Inhibitor Lock
62 Developer Documentation[2].
63
64 If you are interested in writing a display manager that makes use of
65 logind, please have look at Writing Display Managers[3]. If you are
66 interested in writing a desktop environment that makes use of logind,
67 please have look at Writing Desktop Environments[4].
68
70 systemd(1), systemd-user-sessions.service(8), loginctl(1),
71 logind.conf(5), pam_systemd(8), sd-login(3)
72
74 1. polkit
75 https://www.freedesktop.org/wiki/Software/polkit
76
77 2. Inhibitor Lock Developer Documentation
78 https://www.freedesktop.org/wiki/Software/systemd/inhibit
79
80 3. Writing Display Managers
81 https://www.freedesktop.org/wiki/Software/systemd/writing-display-managers
82
83 4. Writing Desktop Environments
84 https://www.freedesktop.org/wiki/Software/systemd/writing-desktop-environments
85
86
87
88systemd 253 SYSTEMD-LOGIND.SERVICE(8)