]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-logind.service.xml
Merge pull request #34 from systemd-mailing-devs/1432619328-32030-1-git-send-email...
[thirdparty/systemd.git] / man / systemd-logind.service.xml
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4 <!ENTITY % entities SYSTEM "custom-entities.ent" >
5 %entities;
6 ]>
7
8 <!--
9 This file is part of systemd.
10
11 Copyright 2010 Lennart Poettering
12
13 systemd is free software; you can redistribute it and/or modify it
14 under the terms of the GNU Lesser General Public License as published by
15 the Free Software Foundation; either version 2.1 of the License, or
16 (at your option) any later version.
17
18 systemd is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
22
23 You should have received a copy of the GNU Lesser General Public License
24 along with systemd; If not, see <http://www.gnu.org/licenses/>.
25 -->
26
27 <refentry id="systemd-logind.service" conditional='ENABLE_LOGIND'>
28
29 <refentryinfo>
30 <title>systemd-logind.service</title>
31 <productname>systemd</productname>
32
33 <authorgroup>
34 <author>
35 <contrib>Developer</contrib>
36 <firstname>Lennart</firstname>
37 <surname>Poettering</surname>
38 <email>lennart@poettering.net</email>
39 </author>
40 </authorgroup>
41 </refentryinfo>
42
43 <refmeta>
44 <refentrytitle>systemd-logind.service</refentrytitle>
45 <manvolnum>8</manvolnum>
46 </refmeta>
47
48 <refnamediv>
49 <refname>systemd-logind.service</refname>
50 <refname>systemd-logind</refname>
51 <refpurpose>Login manager</refpurpose>
52 </refnamediv>
53
54 <refsynopsisdiv>
55 <para><filename>systemd-logind.service</filename></para>
56 <para><filename>&rootlibexecdir;/systemd-logind</filename></para>
57 </refsynopsisdiv>
58
59 <refsect1>
60 <title>Description</title>
61
62 <para><command>systemd-logind</command> is a system service that
63 manages user logins. It is responsible for:</para>
64
65 <itemizedlist>
66 <listitem><para>Keeping track of users and sessions, their
67 processes and their idle state</para></listitem>
68
69 <listitem><para>Providing PolicyKit-based access for users to
70 operations such as system shutdown or sleep</para></listitem>
71
72 <listitem><para>Implementing a shutdown/sleep inhibition logic
73 for applications</para></listitem>
74
75 <listitem><para>Handling of power/sleep hardware
76 keys</para></listitem>
77
78 <listitem><para>Multi-seat management</para></listitem>
79
80 <listitem><para>Session switch management</para></listitem>
81
82 <listitem><para>Device access management for
83 users</para></listitem>
84
85 <listitem><para>Automatic spawning of text logins (gettys) on
86 virtual console activation and user runtime directory
87 management</para></listitem>
88 </itemizedlist>
89
90 <para>User sessions are registered in logind via the
91 <citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
92 PAM module.</para>
93
94 <para>See
95 <citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
96 for information about the configuration of this service.</para>
97
98 <para>See <ulink
99 url="http://www.freedesktop.org/wiki/Software/systemd/multiseat">Multi-Seat
100 on Linux</ulink> for an introduction into basic concepts of logind
101 such as users, sessions and seats.</para>
102
103 <para>See the <ulink
104 url="http://www.freedesktop.org/wiki/Software/systemd/logind">
105 logind D-Bus API Documentation</ulink> for information about the
106 APIs <filename>systemd-logind</filename> provides.</para>
107
108 <para>For more information on the inhibition logic see the <ulink
109 url="http://www.freedesktop.org/wiki/Software/systemd/inhibit">Inhibitor
110 Lock Developer Documentation</ulink>.</para>
111 </refsect1>
112
113 <refsect1>
114 <title>See Also</title>
115 <para>
116 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
117 <citerefentry><refentrytitle>systemd-user-sessions.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
118 <citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
119 <citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
120 <citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
121 </para>
122 </refsect1>
123
124 </refentry>