]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-user-sessions.service.xml
sd-event: define a new PREPARING state
[thirdparty/systemd.git] / man / systemd-user-sessions.service.xml
CommitLineData
a882169a
LP
1<?xml version="1.0"?>
2<!--*-nxml-*-->
12b42c76 3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
a882169a
LP
4<!--
5 This file is part of systemd.
6
7 Copyright 2012 Lennart Poettering
8
9 systemd is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation; either version 2.1 of the License, or
12 (at your option) any later version.
13
14 systemd is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public License
20 along with systemd; If not, see <http://www.gnu.org/licenses/>.
21-->
83e7d885 22<refentry id="systemd-user-sessions.service" conditional='HAVE_PAM'>
a882169a 23
798d3a52
ZJS
24 <refentryinfo>
25 <title>systemd-user-sessions.service</title>
26 <productname>systemd</productname>
a882169a 27
798d3a52
ZJS
28 <authorgroup>
29 <author>
30 <contrib>Developer</contrib>
31 <firstname>Lennart</firstname>
32 <surname>Poettering</surname>
33 <email>lennart@poettering.net</email>
34 </author>
35 </authorgroup>
36 </refentryinfo>
a882169a 37
798d3a52
ZJS
38 <refmeta>
39 <refentrytitle>systemd-user-sessions.service</refentrytitle>
40 <manvolnum>8</manvolnum>
41 </refmeta>
a882169a 42
798d3a52
ZJS
43 <refnamediv>
44 <refname>systemd-user-sessions.service</refname>
45 <refname>systemd-user-sessions</refname>
46 <refpurpose>Permit user logins after boot, prohibit user logins at shutdown</refpurpose>
47 </refnamediv>
a882169a 48
798d3a52
ZJS
49 <refsynopsisdiv>
50 <para><filename>systemd-user-sessions.service</filename></para>
12b42c76 51 <para><filename>/usr/lib/systemd/systemd-user-sessions</filename></para>
798d3a52 52 </refsynopsisdiv>
a882169a 53
798d3a52
ZJS
54 <refsect1>
55 <title>Description</title>
a882169a 56
798d3a52 57 <para><filename>systemd-user-sessions.service</filename> is a
3849a2ac
ZJS
58 service that controls user logins through
59 <citerefentry project='man-pages'><refentrytitle>pam_nologin</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
b938cb90 60 After basic system initialization is complete, it removes
798d3a52 61 <filename>/run/nologin</filename>, thus permitting logins. Before
b938cb90 62 system shutdown, it creates <filename>/run/nologin</filename>, thus
3849a2ac 63 prohibiting further logins.</para>
798d3a52 64 </refsect1>
a882169a 65
798d3a52
ZJS
66 <refsect1>
67 <title>See Also</title>
68 <para>
69 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
70 <citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
71 <citerefentry project='man-pages'><refentrytitle>pam_nologin</refentrytitle><manvolnum>8</manvolnum></citerefentry>
72 </para>
73 </refsect1>
a882169a
LP
74
75</refentry>