2012-06-25 23:34:50 +08:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--*-nxml-*-->
|
2019-03-14 21:40:58 +08:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
2023-12-25 22:48:33 +08:00
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
2020-11-09 12:23:58 +08:00
|
|
|
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
|
2015-02-28 06:26:26 +08:00
|
|
|
<refentry id="systemd-user-sessions.service" conditional='HAVE_PAM'>
|
2012-06-25 23:34:50 +08:00
|
|
|
|
2015-02-04 10:14:13 +08:00
|
|
|
<refentryinfo>
|
|
|
|
<title>systemd-user-sessions.service</title>
|
|
|
|
<productname>systemd</productname>
|
|
|
|
</refentryinfo>
|
2012-06-25 23:34:50 +08:00
|
|
|
|
2015-02-04 10:14:13 +08:00
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>systemd-user-sessions.service</refentrytitle>
|
|
|
|
<manvolnum>8</manvolnum>
|
|
|
|
</refmeta>
|
2012-06-25 23:34:50 +08:00
|
|
|
|
2015-02-04 10:14:13 +08:00
|
|
|
<refnamediv>
|
|
|
|
<refname>systemd-user-sessions.service</refname>
|
|
|
|
<refname>systemd-user-sessions</refname>
|
|
|
|
<refpurpose>Permit user logins after boot, prohibit user logins at shutdown</refpurpose>
|
|
|
|
</refnamediv>
|
2012-06-25 23:34:50 +08:00
|
|
|
|
2015-02-04 10:14:13 +08:00
|
|
|
<refsynopsisdiv>
|
|
|
|
<para><filename>systemd-user-sessions.service</filename></para>
|
2015-06-19 01:47:44 +08:00
|
|
|
<para><filename>/usr/lib/systemd/systemd-user-sessions</filename></para>
|
2015-02-04 10:14:13 +08:00
|
|
|
</refsynopsisdiv>
|
2012-06-25 23:34:50 +08:00
|
|
|
|
2015-02-04 10:14:13 +08:00
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
2012-06-25 23:34:50 +08:00
|
|
|
|
2015-02-04 10:14:13 +08:00
|
|
|
<para><filename>systemd-user-sessions.service</filename> is a
|
2015-02-28 06:26:42 +08:00
|
|
|
service that controls user logins through
|
|
|
|
<citerefentry project='man-pages'><refentrytitle>pam_nologin</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
|
2014-08-03 13:11:12 +08:00
|
|
|
After basic system initialization is complete, it removes
|
2015-02-04 10:14:13 +08:00
|
|
|
<filename>/run/nologin</filename>, thus permitting logins. Before
|
2014-08-03 13:11:12 +08:00
|
|
|
system shutdown, it creates <filename>/run/nologin</filename>, thus
|
2015-02-28 06:26:42 +08:00
|
|
|
prohibiting further logins.</para>
|
2015-02-04 10:14:13 +08:00
|
|
|
</refsect1>
|
2012-06-25 23:34:50 +08:00
|
|
|
|
2015-02-04 10:14:13 +08:00
|
|
|
<refsect1>
|
|
|
|
<title>See Also</title>
|
2023-12-23 02:09:32 +08:00
|
|
|
<para><simplelist type="inline">
|
|
|
|
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry project='man-pages'><refentrytitle>pam_nologin</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
</simplelist></para>
|
2015-02-04 10:14:13 +08:00
|
|
|
</refsect1>
|
2012-06-25 23:34:50 +08:00
|
|
|
|
|
|
|
</refentry>
|