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