]>
Commit | Line | Data |
---|---|---|
af3bccd6 | 1 | <?xml version='1.0'?> <!--*-nxml-*--> |
3a54a157 | 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
12b42c76 | 3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
0307f791 | 4 | <!-- SPDX-License-Identifier: LGPL-2.1+ --> |
af3bccd6 | 5 | |
4fe52119 | 6 | <refentry id="systemd-logind.service" conditional='ENABLE_LOGIND'> |
af3bccd6 | 7 | |
798d3a52 ZJS |
8 | <refentryinfo> |
9 | <title>systemd-logind.service</title> | |
10 | <productname>systemd</productname> | |
798d3a52 ZJS |
11 | </refentryinfo> |
12 | ||
13 | <refmeta> | |
14 | <refentrytitle>systemd-logind.service</refentrytitle> | |
15 | <manvolnum>8</manvolnum> | |
16 | </refmeta> | |
17 | ||
18 | <refnamediv> | |
19 | <refname>systemd-logind.service</refname> | |
20 | <refname>systemd-logind</refname> | |
21 | <refpurpose>Login manager</refpurpose> | |
22 | </refnamediv> | |
23 | ||
24 | <refsynopsisdiv> | |
25 | <para><filename>systemd-logind.service</filename></para> | |
12b42c76 | 26 | <para><filename>/usr/lib/systemd/systemd-logind</filename></para> |
798d3a52 ZJS |
27 | </refsynopsisdiv> |
28 | ||
29 | <refsect1> | |
30 | <title>Description</title> | |
31 | ||
32 | <para><command>systemd-logind</command> is a system service that | |
33 | manages user logins. It is responsible for:</para> | |
34 | ||
35 | <itemizedlist> | |
66a5b902 LP |
36 | <listitem><para>Keeping track of users and sessions, their processes and their idle state. This is implemented by |
37 | allocating a systemd slice unit for each user below <filename>user.slice</filename>, and a scope unit below it | |
38 | for each concurrent session of a user. Also, a per-user service manager is started as system service instance of | |
0ae42c9b | 39 | <filename>user@.service</filename> for each logged in user.</para></listitem> |
66a5b902 | 40 | |
0ae42c9b ZJS |
41 | <listitem><para>Generating and managing session IDs. If auditing is available and an audit session ID is already set for |
42 | a session, then this ID is reused as the session ID. Otherwise, an independent session counter is | |
66a5b902 | 43 | used.</para></listitem> |
798d3a52 | 44 | |
d35f51ea ZJS |
45 | <listitem><para>Providing <ulink |
46 | url="http://www.freedesktop.org/wiki/Software/polkit">polkit</ulink>-based | |
47 | access for users for operations such as system shutdown or sleep</para> | |
48 | </listitem> | |
798d3a52 ZJS |
49 | |
50 | <listitem><para>Implementing a shutdown/sleep inhibition logic | |
51 | for applications</para></listitem> | |
52 | ||
53 | <listitem><para>Handling of power/sleep hardware | |
54 | keys</para></listitem> | |
55 | ||
56 | <listitem><para>Multi-seat management</para></listitem> | |
57 | ||
58 | <listitem><para>Session switch management</para></listitem> | |
59 | ||
60 | <listitem><para>Device access management for | |
61 | users</para></listitem> | |
62 | ||
63 | <listitem><para>Automatic spawning of text logins (gettys) on | |
64 | virtual console activation and user runtime directory | |
65 | management</para></listitem> | |
66 | </itemizedlist> | |
67 | ||
05b2a8fd | 68 | <para>User sessions are registered with logind via the |
798d3a52 ZJS |
69 | <citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
70 | PAM module.</para> | |
71 | ||
72 | <para>See | |
73 | <citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> | |
74 | for information about the configuration of this service.</para> | |
75 | ||
3249bf31 YW |
76 | <para>See |
77 | <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry> | |
78 | for information about the basic concepts of logind | |
798d3a52 ZJS |
79 | such as users, sessions and seats.</para> |
80 | ||
81 | <para>See the <ulink | |
28a0ad81 | 82 | url="https://www.freedesktop.org/wiki/Software/systemd/logind"> |
798d3a52 ZJS |
83 | logind D-Bus API Documentation</ulink> for information about the |
84 | APIs <filename>systemd-logind</filename> provides.</para> | |
85 | ||
86 | <para>For more information on the inhibition logic see the <ulink | |
28a0ad81 | 87 | url="https://www.freedesktop.org/wiki/Software/systemd/inhibit">Inhibitor |
798d3a52 ZJS |
88 | Lock Developer Documentation</ulink>.</para> |
89 | </refsect1> | |
90 | ||
91 | <refsect1> | |
92 | <title>See Also</title> | |
93 | <para> | |
94 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
95 | <citerefentry><refentrytitle>systemd-user-sessions.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
96 | <citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
97 | <citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, | |
98 | <citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
3249bf31 | 99 | <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry> |
798d3a52 ZJS |
100 | </para> |
101 | </refsect1> | |
af3bccd6 LP |
102 | |
103 | </refentry> |