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">
6 This file is part of systemd.
8 Copyright 2010 Lennart Poettering
10 systemd is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
15 systemd is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public License
21 along with systemd; If not, see <http://www.gnu.org/licenses/>.
24 <refentry id="systemd-logind.service" conditional='ENABLE_LOGIND'>
27 <title>systemd-logind.service</title>
28 <productname>systemd</productname>
32 <contrib>Developer</contrib>
33 <firstname>Lennart</firstname>
34 <surname>Poettering</surname>
35 <email>lennart@poettering.net</email>
41 <refentrytitle>systemd-logind.service</refentrytitle>
42 <manvolnum>8</manvolnum>
46 <refname>systemd-logind.service</refname>
47 <refname>systemd-logind</refname>
48 <refpurpose>Login manager</refpurpose>
52 <para><filename>systemd-logind.service</filename></para>
53 <para><filename>/usr/lib/systemd/systemd-logind</filename></para>
57 <title>Description</title>
59 <para><command>systemd-logind</command> is a system
60 service that manages user logins. It is responsible
64 <listitem><para>Keeping track of users and
65 sessions, their processes and their idle
66 state</para></listitem>
68 <listitem><para>Providing PolicyKit-based access
69 for users to operations such as system
70 shutdown or sleep</para></listitem>
72 <listitem><para>Implementing a shutdown/sleep
74 applications</para></listitem>
76 <listitem><para>Handling of power/sleep
77 hardware keys</para></listitem>
79 <listitem><para>Multi-seat
80 management</para></listitem>
82 <listitem><para>Session
83 switch management</para></listitem>
85 <listitem><para>Device access management for
86 users</para></listitem>
88 <listitem><para>Automatic spawning of text
89 logins (gettys) on virtual console activation
90 and user runtime directory
91 management</para></listitem>
94 <para>User sessions are registered in logind via the
95 <citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
99 <citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
100 for information about the configuration of this
104 url="http://www.freedesktop.org/wiki/Software/systemd/multiseat">Multi-Seat
105 on Linux</ulink> for an introduction into basic
106 concepts of logind such as users, sessions and seats.</para>
109 url="http://www.freedesktop.org/wiki/Software/systemd/logind">
110 logind D-Bus API Documentation</ulink> for information about
111 the APIs <filename>systemd-logind</filename>
114 <para>For more information on the inhibition logic see
116 url="http://www.freedesktop.org/wiki/Software/systemd/inhibit">Inhibitor
117 Lock Developer Documentation</ulink>.</para>
121 <title>See Also</title>
123 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
124 <citerefentry><refentrytitle>systemd-user-sessions.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
125 <citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
126 <citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
127 <citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>