1 <html><head><meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"><title>systemd-user-sessions.service
</title><meta name=
"generator" content=
"DocBook XSL Stylesheets V1.78.1"></head><body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF"><style>
11 background-color: #c60f0f;
15 h1:hover
> a.headerlink, h2:hover
> a.headerlink, h3:hover
> a.headerlink, dt:hover
> a.headerlink {
18 </style><a href=
"index.html">Index
</a>·
19 <a href=
"systemd.directives.html">Directives
</a>·
20 <a href=
"../python-systemd/index.html">Python
</a>·
21 <a href=
"../libudev/index.html">libudev
</a>·
22 <a href=
"../libudev/index.html">gudev
</a><span style=
"float:right">systemd
219</span><hr><div class=
"refentry"><a name=
"systemd-user-sessions.service"></a><div class=
"titlepage"></div><div class=
"refnamediv"><h2>Name
</h2><p>systemd-user-sessions.service, systemd-user-sessions — Permit user logins after boot, prohibit user logins at shutdown
</p></div><div class=
"refsynopsisdiv"><h2>Synopsis
</h2><p><code class=
"filename">systemd-user-sessions.service
</code></p><p><code class=
"filename">/usr/lib/systemd/systemd-user-sessions
</code></p></div><div class=
"refsect1"><a name=
"idm139730632492112"></a><h2 id=
"Description">Description
<a class=
"headerlink" title=
"Permalink to this headline" href=
"#Description">¶
</a></h2><p><code class=
"filename">systemd-user-sessions.service
</code> is a
23 service that controls user logins. After basic system
24 initialization is complete it removes
25 <code class=
"filename">/run/nologin
</code>, thus permitting logins. Before
26 system shutdown it creates
<code class=
"filename">/run/nologin
</code>, thus
27 prohibiting further logins. At the same time it also kills all
28 user processes, so that system shutdown may proceed without any
29 remaining user processes around.
</p></div><div class=
"refsect1"><a name=
"idm139730632488656"></a><h2 id=
"See Also">See Also
<a class=
"headerlink" title=
"Permalink to this headline" href=
"#See%20Also">¶
</a></h2><p>
30 <a href=
"systemd.html"><span class=
"citerefentry"><span class=
"refentrytitle">systemd
</span>(
1)
</span></a>,
31 <a href=
"systemd-logind.service.html"><span class=
"citerefentry"><span class=
"refentrytitle">systemd-logind.service
</span>(
8)
</span></a>,
32 <a href=
"http://man7.org/linux/man-pages/man8/pam_nologin.8.html"><span class=
"citerefentry"><span class=
"refentrytitle">pam_nologin
</span>(
8)
</span></a>
33 </p></div></div></body></html>