| 1 |
<?xml version='1.0'?> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
| 4 |
<!ENTITY % entities SYSTEM "custom-entities.ent" > |
| 5 |
%entities; |
| 6 |
]> |
| 7 |
<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
| 8 |
|
| 9 |
<refentry id="logind.conf" conditional='ENABLE_LOGIND' |
| 10 |
xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 11 |
<refentryinfo> |
| 12 |
<title>logind.conf</title> |
| 13 |
<productname>systemd</productname> |
| 14 |
</refentryinfo> |
| 15 |
|
| 16 |
<refmeta> |
| 17 |
<refentrytitle>logind.conf</refentrytitle> |
| 18 |
<manvolnum>5</manvolnum> |
| 19 |
</refmeta> |
| 20 |
|
| 21 |
<refnamediv> |
| 22 |
<refname>logind.conf</refname> |
| 23 |
<refname>logind.conf.d</refname> |
| 24 |
<refpurpose>Login manager configuration files</refpurpose> |
| 25 |
</refnamediv> |
| 26 |
|
| 27 |
<refsynopsisdiv> |
| 28 |
<para><simplelist> |
| 29 |
<member><filename>/etc/systemd/logind.conf</filename></member> |
| 30 |
<member><filename>/run/systemd/logind.conf</filename></member> |
| 31 |
<member><filename>/usr/local/lib/systemd/logind.conf</filename></member> |
| 32 |
<member><filename>/usr/lib/systemd/logind.conf</filename></member> |
| 33 |
<member><filename>/etc/systemd/logind.conf.d/*.conf</filename></member> |
| 34 |
<member><filename>/run/systemd/logind.conf.d/*.conf</filename></member> |
| 35 |
<member><filename>/usr/local/lib/systemd/logind.conf.d/*.conf</filename></member> |
| 36 |
<member><filename>/usr/lib/systemd/logind.conf.d/*.conf</filename></member> |
| 37 |
</simplelist></para> |
| 38 |
</refsynopsisdiv> |
| 39 |
|
| 40 |
<refsect1> |
| 41 |
<title>Description</title> |
| 42 |
|
| 43 |
<para>These files configure various parameters of the systemd login manager, |
| 44 |
<citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. See |
| 45 |
<citerefentry><refentrytitle>systemd.syntax</refentrytitle><manvolnum>7</manvolnum></citerefentry> |
| 46 |
for a general description of the syntax.</para> |
| 47 |
</refsect1> |
| 48 |
|
| 49 |
<xi:include href="standard-conf.xml" xpointer="main-conf" /> |
| 50 |
|
| 51 |
<refsect1> |
| 52 |
<title>Options</title> |
| 53 |
|
| 54 |
<para>All options are configured in the |
| 55 |
[Login] section:</para> |
| 56 |
|
| 57 |
<variablelist class='config-directives'> |
| 58 |
|
| 59 |
<varlistentry> |
| 60 |
<term><varname>NAutoVTs=</varname></term> |
| 61 |
|
| 62 |
<listitem><para>Takes a positive integer. Configures how many |
| 63 |
virtual terminals (VTs) to allocate by default that, when |
| 64 |
switched to and are previously unused, |
| 65 |
<literal>autovt</literal> services are automatically spawned |
| 66 |
on. These services are instantiated from the template unit |
| 67 |
<filename>[email protected]</filename> for the respective VT TTY |
| 68 |
name, for example, <filename>[email protected]</filename>. |
| 69 |
By default, <filename>[email protected]</filename> is linked to |
| 70 |
<filename>[email protected]</filename>. In other words, login |
| 71 |
prompts are started dynamically as the user switches to unused |
| 72 |
virtual terminals. Hence, this parameter controls how many |
| 73 |
login <literal>gettys</literal> are available on the VTs. If a |
| 74 |
VT is already used by some other subsystem (for example, a |
| 75 |
graphical login), this kind of activation will not be |
| 76 |
attempted. Note that the VT configured in |
| 77 |
<varname>ReserveVT=</varname> is always subject to this kind |
| 78 |
of activation, even if it is not one of the VTs configured |
| 79 |
with the <varname>NAutoVTs=</varname> directive. Defaults to |
| 80 |
6. When set to 0, automatic spawning of |
| 81 |
<literal>autovt</literal> services is |
| 82 |
disabled.</para></listitem> |
| 83 |
</varlistentry> |
| 84 |
|
| 85 |
<varlistentry> |
| 86 |
<term><varname>ReserveVT=</varname></term> |
| 87 |
|
| 88 |
<listitem><para>Takes a positive integer. Identifies one |
| 89 |
virtual terminal that shall unconditionally be reserved for |
| 90 |
<filename>[email protected]</filename> activation (see above). |
| 91 |
The VT selected with this option will be marked busy |
| 92 |
unconditionally, so that no other subsystem will allocate it. |
| 93 |
This functionality is useful to ensure that, regardless of how |
| 94 |
many VTs are allocated by other subsystems, one login |
| 95 |
<literal>getty</literal> is always available. Defaults to 6 |
| 96 |
(in other words, there will always be a |
| 97 |
<literal>getty</literal> available on Alt-F6.). When set to 0, |
| 98 |
VT reservation is disabled.</para> |
| 99 |
|
| 100 |
<xi:include href="version-info.xml" xpointer="v190"/></listitem> |
| 101 |
</varlistentry> |
| 102 |
|
| 103 |
<varlistentry> |
| 104 |
<term><varname>KillUserProcesses=</varname></term> |
| 105 |
|
| 106 |
<listitem><para>Takes a boolean argument. Configures whether the processes of a |
| 107 |
user should be killed when the user logs out. If true, the scope unit |
| 108 |
corresponding to the session and all processes inside that scope will be |
| 109 |
terminated. If false, the scope is "abandoned", see |
| 110 |
<citerefentry><refentrytitle>systemd.scope</refentrytitle><manvolnum>5</manvolnum></citerefentry>, |
| 111 |
and processes are not killed. Defaults to <literal>&KILL_USER_PROCESSES;</literal>, |
| 112 |
but see the options <varname>KillOnlyUsers=</varname> and |
| 113 |
<varname>KillExcludeUsers=</varname> below.</para> |
| 114 |
|
| 115 |
<para>In addition to session processes, user process may run under the user |
| 116 |
manager unit <filename>[email protected]</filename>. Depending on the linger |
| 117 |
settings, this may allow users to run processes independent of their login |
| 118 |
sessions. See the description of <command>enable-linger</command> in |
| 119 |
<citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>. |
| 120 |
</para> |
| 121 |
|
| 122 |
<para>Note that setting <varname>KillUserProcesses=yes</varname> |
| 123 |
will break tools like |
| 124 |
<citerefentry project='die-net'><refentrytitle>screen</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
| 125 |
and |
| 126 |
<citerefentry project='die-net'><refentrytitle>tmux</refentrytitle><manvolnum>1</manvolnum></citerefentry>, |
| 127 |
unless they are moved out of the session scope. See example in |
| 128 |
<citerefentry><refentrytitle>systemd-run</refentrytitle><manvolnum>1</manvolnum></citerefentry>. |
| 129 |
</para></listitem> |
| 130 |
</varlistentry> |
| 131 |
|
| 132 |
<varlistentry> |
| 133 |
<term><varname>KillOnlyUsers=</varname></term> |
| 134 |
<term><varname>KillExcludeUsers=</varname></term> |
| 135 |
|
| 136 |
<listitem><para>These settings take space-separated lists of usernames that override the |
| 137 |
<varname>KillUserProcesses=</varname> setting. A user name may be added to |
| 138 |
<varname>KillExcludeUsers=</varname> to exclude the processes in the session scopes of that user from |
| 139 |
being killed even if <varname>KillUserProcesses=yes</varname> is set. If |
| 140 |
<varname>KillExcludeUsers=</varname> is not set, the <literal>root</literal> user is excluded by |
| 141 |
default. <varname>KillExcludeUsers=</varname> may be set to an empty value to override this |
| 142 |
default. If a user is not excluded, <varname>KillOnlyUsers=</varname> is checked next. If this |
| 143 |
setting is specified, only the processes in the session scopes of those users will be |
| 144 |
killed. Otherwise, users are subject to the <varname>KillUserProcesses=yes</varname> setting. |
| 145 |
</para></listitem> |
| 146 |
</varlistentry> |
| 147 |
|
| 148 |
<varlistentry> |
| 149 |
<term><varname>IdleAction=</varname></term> |
| 150 |
|
| 151 |
<listitem><para>Configures the action to take when the system |
| 152 |
is idle. Takes one of <literal>ignore</literal>, <literal>poweroff</literal>, <literal>reboot</literal>, |
| 153 |
<literal>halt</literal>, <literal>kexec</literal>, <literal>suspend</literal>, <literal>hibernate</literal>, |
| 154 |
<literal>hybrid-sleep</literal>, <literal>suspend-then-hibernate</literal>, <literal>sleep</literal>, |
| 155 |
and <literal>lock</literal>. Defaults to <literal>ignore</literal>.</para> |
| 156 |
|
| 157 |
<para>Note that this requires that user sessions correctly |
| 158 |
report the idle status to the system. The system will execute |
| 159 |
the action after all sessions report that they are idle, no |
| 160 |
idle inhibitor lock is active, and subsequently, the time |
| 161 |
configured with <varname>IdleActionSec=</varname> (see below) |
| 162 |
has expired.</para> |
| 163 |
|
| 164 |
<xi:include href="version-info.xml" xpointer="v198"/> |
| 165 |
</listitem> |
| 166 |
</varlistentry> |
| 167 |
|
| 168 |
<varlistentry> |
| 169 |
<term><varname>IdleActionSec=</varname></term> |
| 170 |
|
| 171 |
<listitem><para>Configures the delay after which the action |
| 172 |
configured in <varname>IdleAction=</varname> (see above) is |
| 173 |
taken after the system is idle.</para> |
| 174 |
|
| 175 |
<xi:include href="version-info.xml" xpointer="v198"/></listitem> |
| 176 |
</varlistentry> |
| 177 |
|
| 178 |
<varlistentry> |
| 179 |
<term><varname>InhibitDelayMaxSec=</varname></term> |
| 180 |
|
| 181 |
<listitem><para>Specifies the maximum time a system shutdown |
| 182 |
or sleep request is delayed due to an inhibitor lock of type |
| 183 |
<literal>delay</literal> being active before the inhibitor is |
| 184 |
ignored and the operation executes anyway. Defaults to |
| 185 |
5.</para></listitem> |
| 186 |
</varlistentry> |
| 187 |
|
| 188 |
<varlistentry> |
| 189 |
<term><varname>UserStopDelaySec=</varname></term> |
| 190 |
|
| 191 |
<listitem><para>Specifies how long to keep the user record and per-user service |
| 192 |
<filename>[email protected]</filename> around for a user after they logged out fully. If set to zero, the per-user |
| 193 |
service is terminated immediately when the last session of the user has ended. If this option is configured to |
| 194 |
non-zero rapid logout/login cycles are sped up, as the user's service manager is not constantly restarted. If |
| 195 |
set to <literal>infinity</literal> the per-user service for a user is never terminated again after first login, |
| 196 |
and continues to run until system shutdown. Defaults to 10s.</para> |
| 197 |
|
| 198 |
<xi:include href="version-info.xml" xpointer="v240"/></listitem> |
| 199 |
</varlistentry> |
| 200 |
|
| 201 |
<varlistentry> |
| 202 |
<term><varname>SleepOperation=</varname></term> |
| 203 |
|
| 204 |
<listitem><para>Takes a list of sleep operations. Possible values are <literal>suspend</literal>, |
| 205 |
<literal>hibernate</literal>, <literal>hybrid-sleep</literal>, and <literal>suspend-then-hibernate</literal>. |
| 206 |
Controls the candidate sleep operations for the <literal>sleep</literal> action. When <literal>sleep</literal> |
| 207 |
action is performed, the specified sleep operations are checked in a fixed order (<literal>suspend-then-hibernate</literal> |
| 208 |
→ <literal>hybrid-sleep</literal> → <literal>suspend</literal> → <literal>hibernate</literal>), and |
| 209 |
the first one supported by the machine is used to put the system into sleep. Defaults to |
| 210 |
<literal>suspend-then-hibernate suspend hibernate</literal>.</para> |
| 211 |
|
| 212 |
<xi:include href="version-info.xml" xpointer="v256"/></listitem> |
| 213 |
</varlistentry> |
| 214 |
|
| 215 |
<varlistentry> |
| 216 |
<term><varname>HandlePowerKey=</varname></term> |
| 217 |
<term><varname>HandlePowerKeyLongPress=</varname></term> |
| 218 |
<term><varname>HandleRebootKey=</varname></term> |
| 219 |
<term><varname>HandleRebootKeyLongPress=</varname></term> |
| 220 |
<term><varname>HandleSuspendKey=</varname></term> |
| 221 |
<term><varname>HandleSuspendKeyLongPress=</varname></term> |
| 222 |
<term><varname>HandleHibernateKey=</varname></term> |
| 223 |
<term><varname>HandleHibernateKeyLongPress=</varname></term> |
| 224 |
<term><varname>HandleLidSwitch=</varname></term> |
| 225 |
<term><varname>HandleLidSwitchExternalPower=</varname></term> |
| 226 |
<term><varname>HandleLidSwitchDocked=</varname></term> |
| 227 |
<term><varname>HandleSecureAttentionKey=</varname></term> |
| 228 |
|
| 229 |
<listitem><para>Controls how logind shall handle the system power, reboot and sleep keys and the lid |
| 230 |
switch to trigger actions such as system power-off, reboot or suspend. Can be one of |
| 231 |
<literal>ignore</literal>, <literal>poweroff</literal>, <literal>reboot</literal>, <literal>halt</literal>, |
| 232 |
<literal>kexec</literal>, <literal>suspend</literal>, <literal>hibernate</literal>, <literal>hybrid-sleep</literal>, |
| 233 |
<literal>suspend-then-hibernate</literal>, <literal>sleep</literal>, <literal>lock</literal>, |
| 234 |
<literal>factory-reset</literal>, and <literal>secure-attention-key</literal>. If <literal>ignore</literal>, <command>systemd-logind</command> |
| 235 |
will never handle these keys. If <literal>lock</literal>, all running sessions will be screen-locked; |
| 236 |
otherwise, the specified action will be taken in the respective event. Only input devices with the |
| 237 |
<literal>power-switch</literal> udev tag will be watched for key/lid switch |
| 238 |
events.</para> |
| 239 |
|
| 240 |
<para><varname>HandlePowerKey=</varname> defaults to <literal>poweroff</literal>, |
| 241 |
<varname>HandleRebootKey=</varname> defaults to <literal>reboot</literal>, |
| 242 |
<varname>HandleSuspendKey=</varname> defaults to <literal>suspend</literal>, |
| 243 |
<varname>HandleHibernateKey=</varname> defaults to <literal>hibernate</literal>, |
| 244 |
<varname>HandlePowerKeyLongPress=</varname> defaults to <literal>ignore</literal>, |
| 245 |
<varname>HandleRebootKeyLongPress=</varname> defaults to <literal>poweroff</literal>, |
| 246 |
<varname>HandleSuspendKeyLongPress=</varname> defaults to <literal>hibernate</literal>, |
| 247 |
<varname>HandleHibernateKeyLongPress=</varname> defaults to <literal>ignore</literal>. |
| 248 |
<varname>HandleLidSwitch=</varname> defaults to <literal>suspend</literal>. |
| 249 |
<varname>HandleLidSwitchExternalPower=</varname> is completely ignored by default (for backwards |
| 250 |
compatibility) — an explicit value must be set before it will be used to determine |
| 251 |
behaviour. <varname>HandleLidSwitchDocked=</varname> defaults to <literal>ignore</literal>. If the |
| 252 |
system is inserted in a docking station, or if more than one display is connected, the action |
| 253 |
specified by <varname>HandleLidSwitchDocked=</varname> occurs; if the system is on external power the |
| 254 |
action (if any) specified by <varname>HandleLidSwitchExternalPower=</varname> occurs; otherwise the |
| 255 |
<varname>HandleLidSwitch=</varname> action occurs. |
| 256 |
<varname>HandleSecureAttentionKey=</varname> defaults to <literal>secure-attention-key</literal></para> |
| 257 |
|
| 258 |
<para>A different application may disable logind's handling of system power and |
| 259 |
sleep keys and the lid switch by taking a low-level inhibitor lock |
| 260 |
(<literal>handle-power-key</literal>, <literal>handle-suspend-key</literal>, |
| 261 |
<literal>handle-hibernate-key</literal>, <literal>handle-lid-switch</literal>, |
| 262 |
<literal>handle-reboot-key</literal>). |
| 263 |
This is most commonly used by graphical desktop environments |
| 264 |
to take over suspend and hibernation handling, and to use their own configuration |
| 265 |
mechanisms. If a low-level inhibitor lock is taken, logind will not take any |
| 266 |
action when that key or switch is triggered and the <varname>Handle*=</varname> |
| 267 |
settings are irrelevant, except for <varname>HandleSecureAttentionKey=</varname>, which is always handled since its addition in v257.</para> |
| 268 |
|
| 269 |
<xi:include href="version-info.xml" xpointer="v184"/></listitem> |
| 270 |
</varlistentry> |
| 271 |
|
| 272 |
<varlistentry> |
| 273 |
<term><varname>PowerKeyIgnoreInhibited=</varname></term> |
| 274 |
<term><varname>SuspendKeyIgnoreInhibited=</varname></term> |
| 275 |
<term><varname>HibernateKeyIgnoreInhibited=</varname></term> |
| 276 |
<term><varname>LidSwitchIgnoreInhibited=</varname></term> |
| 277 |
<term><varname>RebootKeyIgnoreInhibited=</varname></term> |
| 278 |
|
| 279 |
<listitem><para>Controls whether actions that <command>systemd-logind</command> |
| 280 |
takes when the power, reboot and sleep keys and the lid switch are triggered are subject |
| 281 |
to high-level inhibitor locks ("shutdown", "reboot", "sleep", "idle"). Low level inhibitor |
| 282 |
locks (<literal>handle-power-key</literal>, <literal>handle-suspend-key</literal>, |
| 283 |
<literal>handle-hibernate-key</literal>, <literal>handle-lid-switch</literal>, |
| 284 |
<literal>handle-reboot-key</literal>), |
| 285 |
are always honored, irrespective of this setting.</para> |
| 286 |
|
| 287 |
<para>These settings take boolean arguments. If <literal>no</literal>, the |
| 288 |
inhibitor locks taken by applications are respected. If <literal>yes</literal>, |
| 289 |
"shutdown", "reboot" "sleep", and "idle" inhibitor locks are ignored. |
| 290 |
<varname>PowerKeyIgnoreInhibited=</varname>, |
| 291 |
<varname>SuspendKeyIgnoreInhibited=</varname>, |
| 292 |
<varname>HibernateKeyIgnoreInhibited=</varname> and |
| 293 |
<varname>RebootKeyIgnoreInhibited=</varname> default to <literal>no</literal>. |
| 294 |
<varname>LidSwitchIgnoreInhibited=</varname> defaults to <literal>yes</literal>. |
| 295 |
This means that when <command>systemd-logind</command> is handling events by |
| 296 |
itself (no low level inhibitor locks are taken by another application), the lid |
| 297 |
switch does not respect suspend blockers by default, but the power and sleep keys |
| 298 |
do.</para> |
| 299 |
|
| 300 |
<xi:include href="version-info.xml" xpointer="v190"/></listitem> |
| 301 |
</varlistentry> |
| 302 |
|
| 303 |
<varlistentry> |
| 304 |
<term><varname>HoldoffTimeoutSec=</varname></term> |
| 305 |
|
| 306 |
<listitem><para>Specifies a period of time after system startup or |
| 307 |
system resume in which systemd will hold off on reacting to |
| 308 |
lid events. This is required for the system to properly |
| 309 |
detect any hotplugged devices so systemd can ignore lid events |
| 310 |
if external monitors, or docks, are connected. If set to 0, |
| 311 |
systemd will always react immediately, possibly before the |
| 312 |
kernel fully probed all hotplugged devices. This is safe, as |
| 313 |
long as you do not care for systemd to account for devices |
| 314 |
that have been plugged or unplugged while the system was off. |
| 315 |
Defaults to 30s.</para> |
| 316 |
|
| 317 |
<xi:include href="version-info.xml" xpointer="v220"/></listitem> |
| 318 |
</varlistentry> |
| 319 |
|
| 320 |
<varlistentry> |
| 321 |
<term><varname>RuntimeDirectorySize=</varname></term> |
| 322 |
|
| 323 |
<listitem><para>Sets the size limit on the |
| 324 |
<varname>$XDG_RUNTIME_DIR</varname> runtime directory for each |
| 325 |
user who logs in. Takes a size in bytes, optionally suffixed |
| 326 |
with the usual K, G, M, and T suffixes, to the base 1024 |
| 327 |
(IEC). Alternatively, a numerical percentage suffixed by |
| 328 |
<literal>%</literal> may be specified, which sets the size |
| 329 |
limit relative to the amount of physical RAM. Defaults to 10%. |
| 330 |
Note that this size is a safety limit only. As each runtime |
| 331 |
directory is a tmpfs file system, it will only consume as much |
| 332 |
memory as is needed.</para> |
| 333 |
|
| 334 |
<xi:include href="version-info.xml" xpointer="v211"/></listitem> |
| 335 |
</varlistentry> |
| 336 |
|
| 337 |
<varlistentry> |
| 338 |
<term><varname>RuntimeDirectoryInodesMax=</varname></term> |
| 339 |
|
| 340 |
<listitem><para>Sets the limit on number of inodes for the |
| 341 |
<varname>$XDG_RUNTIME_DIR</varname> runtime directory for each |
| 342 |
user who logs in. Takes a number, optionally suffixed with the |
| 343 |
usual K, G, M, and T suffixes, to the base 1024 (IEC). |
| 344 |
Defaults to <varname>RuntimeDirectorySize=</varname> divided |
| 345 |
by 4096. Note that this size is a safety limit only. |
| 346 |
As each runtime directory is a tmpfs file system, it will |
| 347 |
only consume as much memory as is needed.</para> |
| 348 |
|
| 349 |
<xi:include href="version-info.xml" xpointer="v246"/></listitem> |
| 350 |
</varlistentry> |
| 351 |
|
| 352 |
<varlistentry> |
| 353 |
<term><varname>InhibitorsMax=</varname></term> |
| 354 |
|
| 355 |
<listitem><para>Controls the maximum number of concurrent inhibitors to permit. Defaults to 8192 |
| 356 |
(8K).</para> |
| 357 |
|
| 358 |
<xi:include href="version-info.xml" xpointer="v230"/></listitem> |
| 359 |
</varlistentry> |
| 360 |
|
| 361 |
<varlistentry> |
| 362 |
<term><varname>SessionsMax=</varname></term> |
| 363 |
|
| 364 |
<listitem><para>Controls the maximum number of concurrent user sessions to manage. Defaults to 8192 |
| 365 |
(8K). Depending on how the <filename>pam_systemd.so</filename> module is included in the PAM stack |
| 366 |
configuration, further login sessions will either be refused, or permitted but not tracked by |
| 367 |
<filename>systemd-logind</filename>.</para> |
| 368 |
|
| 369 |
<xi:include href="version-info.xml" xpointer="v230"/></listitem> |
| 370 |
</varlistentry> |
| 371 |
|
| 372 |
<varlistentry> |
| 373 |
<term><varname>RemoveIPC=</varname></term> |
| 374 |
|
| 375 |
<listitem><para>Controls whether System V and POSIX IPC objects belonging to the user shall be removed when the |
| 376 |
user fully logs out. Takes a boolean argument. If enabled, the user may not consume IPC resources after the |
| 377 |
last of the user's sessions terminated. This covers System V semaphores, shared memory and message queues, as |
| 378 |
well as POSIX shared memory and message queues. Note that IPC objects of the root user and other system users |
| 379 |
are excluded from the effect of this setting. Defaults to <literal>yes</literal>.</para> |
| 380 |
|
| 381 |
<xi:include href="version-info.xml" xpointer="v212"/></listitem> |
| 382 |
</varlistentry> |
| 383 |
|
| 384 |
<varlistentry> |
| 385 |
<term><varname>StopIdleSessionSec=</varname></term> |
| 386 |
|
| 387 |
<listitem><para>Specifies a timeout in seconds, or a time span value after which |
| 388 |
<filename>systemd-logind</filename> checks the idle state of all sessions. Every session that is idle |
| 389 |
for longer than the timeout will be stopped. Note that this option does not apply to |
| 390 |
<literal>greeter</literal> or <literal>lock-screen</literal> sessions. Defaults to |
| 391 |
<literal>infinity</literal> (<filename>systemd-logind</filename> is not checking the idle state |
| 392 |
of sessions). For details about the syntax of time spans, see |
| 393 |
<citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>. |
| 394 |
</para> |
| 395 |
|
| 396 |
<xi:include href="version-info.xml" xpointer="v252"/></listitem> |
| 397 |
</varlistentry> |
| 398 |
|
| 399 |
<varlistentry> |
| 400 |
<term><varname>DesignatedMaintenanceTime=</varname></term> |
| 401 |
|
| 402 |
<listitem> |
| 403 |
<para> |
| 404 |
Specifies a default calendar event for scheduled shutdowns. So when using e.g. the command |
| 405 |
<command>shutdown -r</command> to reboot the system without specifying a timeout, logind would |
| 406 |
use the configured calendar event instead. For details about the syntax of calendar events, see |
| 407 |
<citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>. |
| 408 |
</para> |
| 409 |
|
| 410 |
<xi:include href="version-info.xml" xpointer="v257"/></listitem> |
| 411 |
</varlistentry> |
| 412 |
|
| 413 |
<varlistentry> |
| 414 |
<term><varname>WallMessages=</varname></term> |
| 415 |
|
| 416 |
<listitem> |
| 417 |
<!-- NB: the configuration file setting lacks the "Enable" prefix that the dbus property has. It |
| 418 |
was a mistake to have that prefix, as we generally frown on useless Enable/Disables prefix of |
| 419 |
configuration knobs. --> |
| 420 |
<para> |
| 421 |
Controls whether |
| 422 |
<citerefentry project='die-net'><refentrytitle>wall</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
| 423 |
messages should be sent to the terminals of all currently logged in users upon shutdown or |
| 424 |
reboot. Defaults to <literal>yes</literal>, and can be changed at runtime via the DBus |
| 425 |
<literal>EnableWallMessages</literal> and <literal>WallMessagePrefix</literal> properties. |
| 426 |
</para> |
| 427 |
|
| 428 |
<xi:include href="version-info.xml" xpointer="v258"/></listitem> |
| 429 |
</varlistentry> |
| 430 |
</variablelist> |
| 431 |
</refsect1> |
| 432 |
|
| 433 |
<refsect1> |
| 434 |
<title>See Also</title> |
| 435 |
<para><simplelist type="inline"> |
| 436 |
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 437 |
<member><citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member> |
| 438 |
<member><citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 439 |
<member><citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></member> |
| 440 |
</simplelist></para> |
| 441 |
</refsect1> |
| 442 |
|
| 443 |
</refentry> |