a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering<?xml version="1.0"?>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering<!--*-nxml-*-->
12b42c76672a66c2d4ea7212c14f8f1b5a62b78dTom Gundersen<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering<!--
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering This file is part of systemd.
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering Copyright 2012 Lennart Poettering
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering systemd is free software; you can redistribute it and/or modify it
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering under the terms of the GNU Lesser General Public License as published by
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering the Free Software Foundation; either version 2.1 of the License, or
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering (at your option) any later version.
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering systemd is distributed in the hope that it will be useful, but
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering Lesser General Public License for more details.
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering You should have received a copy of the GNU Lesser General Public License
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering-->
83e7d8850c38baee0da3097f27e191359aa70006Zbigniew Jędrzejewski-Szmek<refentry id="systemd-user-sessions.service" conditional='HAVE_PAM'>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refentryinfo>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <title>systemd-user-sessions.service</title>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <productname>systemd</productname>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <authorgroup>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <author>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <contrib>Developer</contrib>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <firstname>Lennart</firstname>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <surname>Poettering</surname>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <email>lennart@poettering.net</email>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </author>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </authorgroup>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </refentryinfo>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refmeta>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refentrytitle>systemd-user-sessions.service</refentrytitle>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <manvolnum>8</manvolnum>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </refmeta>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refnamediv>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refname>systemd-user-sessions.service</refname>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refname>systemd-user-sessions</refname>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refpurpose>Permit user logins after boot, prohibit user logins at shutdown</refpurpose>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </refnamediv>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refsynopsisdiv>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <para><filename>systemd-user-sessions.service</filename></para>
12b42c76672a66c2d4ea7212c14f8f1b5a62b78dTom Gundersen <para><filename>/usr/lib/systemd/systemd-user-sessions</filename></para>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </refsynopsisdiv>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refsect1>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <title>Description</title>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <para><filename>systemd-user-sessions.service</filename> is a
3849a2ac8198fedd25e66fe780821fa96eb6396dZbigniew Jędrzejewski-Szmek service that controls user logins through
3849a2ac8198fedd25e66fe780821fa96eb6396dZbigniew Jędrzejewski-Szmek <citerefentry project='man-pages'><refentrytitle>pam_nologin</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
b938cb902c3b5bca807a94b277672c64d6767886Jan Engelhardt After basic system initialization is complete, it removes
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <filename>/run/nologin</filename>, thus permitting logins. Before
b938cb902c3b5bca807a94b277672c64d6767886Jan Engelhardt system shutdown, it creates <filename>/run/nologin</filename>, thus
3849a2ac8198fedd25e66fe780821fa96eb6396dZbigniew Jędrzejewski-Szmek prohibiting further logins.</para>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </refsect1>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <refsect1>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <title>See Also</title>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <para>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek <citerefentry project='man-pages'><refentrytitle>pam_nologin</refentrytitle><manvolnum>8</manvolnum></citerefentry>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </para>
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek </refsect1>
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering
a882169a168bef88eb5cc3a9a5437e6e3518260fLennart Poettering</refentry>