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