]>
Commit | Line | Data |
---|---|---|
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 | 5 | SPDX-License-Identifier: LGPL-2.1+ |
a882169a | 6 | --> |
83e7d885 | 7 | <refentry id="systemd-user-sessions.service" conditional='HAVE_PAM'> |
a882169a | 8 | |
798d3a52 ZJS |
9 | <refentryinfo> |
10 | <title>systemd-user-sessions.service</title> | |
11 | <productname>systemd</productname> | |
a882169a | 12 | |
798d3a52 ZJS |
13 | <authorgroup> |
14 | <author> | |
15 | <contrib>Developer</contrib> | |
16 | <firstname>Lennart</firstname> | |
17 | <surname>Poettering</surname> | |
18 | <email>lennart@poettering.net</email> | |
19 | </author> | |
20 | </authorgroup> | |
21 | </refentryinfo> | |
a882169a | 22 | |
798d3a52 ZJS |
23 | <refmeta> |
24 | <refentrytitle>systemd-user-sessions.service</refentrytitle> | |
25 | <manvolnum>8</manvolnum> | |
26 | </refmeta> | |
a882169a | 27 | |
798d3a52 ZJS |
28 | <refnamediv> |
29 | <refname>systemd-user-sessions.service</refname> | |
30 | <refname>systemd-user-sessions</refname> | |
31 | <refpurpose>Permit user logins after boot, prohibit user logins at shutdown</refpurpose> | |
32 | </refnamediv> | |
a882169a | 33 | |
798d3a52 ZJS |
34 | <refsynopsisdiv> |
35 | <para><filename>systemd-user-sessions.service</filename></para> | |
12b42c76 | 36 | <para><filename>/usr/lib/systemd/systemd-user-sessions</filename></para> |
798d3a52 | 37 | </refsynopsisdiv> |
a882169a | 38 | |
798d3a52 ZJS |
39 | <refsect1> |
40 | <title>Description</title> | |
a882169a | 41 | |
798d3a52 | 42 | <para><filename>systemd-user-sessions.service</filename> is a |
3849a2ac ZJS |
43 | service that controls user logins through |
44 | <citerefentry project='man-pages'><refentrytitle>pam_nologin</refentrytitle><manvolnum>8</manvolnum></citerefentry>. | |
b938cb90 | 45 | After basic system initialization is complete, it removes |
798d3a52 | 46 | <filename>/run/nologin</filename>, thus permitting logins. Before |
b938cb90 | 47 | system shutdown, it creates <filename>/run/nologin</filename>, thus |
3849a2ac | 48 | prohibiting further logins.</para> |
798d3a52 | 49 | </refsect1> |
a882169a | 50 | |
798d3a52 ZJS |
51 | <refsect1> |
52 | <title>See Also</title> | |
53 | <para> | |
54 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
55 | <citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
56 | <citerefentry project='man-pages'><refentrytitle>pam_nologin</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
57 | </para> | |
58 | </refsect1> | |
a882169a LP |
59 | |
60 | </refentry> |