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
208</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=
"idm274705298432"></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>
23 is a service that controls user logins. After basic
24 system initialization is complete it removes
25 <code class=
"filename">/run/nologin
</code>, thus permitting
26 logins. Before system shutdown it creates
27 <code class=
"filename">/run/nologin
</code>, thus prohibiting
28 further logins. At the same time it also kills all
29 user processes, so that system shutdown may proceed
30 without any remaining user processes around.
</p></div><div class=
"refsect1"><a name=
"idm274705294800"></a><h2 id=
"See Also">See Also
<a class=
"headerlink" title=
"Permalink to this headline" href=
"#See%20Also">¶
</a></h2><p>
31 <a href=
"systemd.html"><span class=
"citerefentry"><span class=
"refentrytitle">systemd
</span>(
1)
</span></a>,
32 <a href=
"systemd-logind.service.html"><span class=
"citerefentry"><span class=
"refentrytitle">systemd-logind.service
</span>(
8)
</span></a>,
33 <a href=
"pam_nologin.html"><span class=
"citerefentry"><span class=
"refentrytitle">pam_nologin
</span>(
8)
</span></a>
34 </p></div></div></body></html>