summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-05-07 12:38:05 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-20 00:47:37 +0200
commit764ae4dd51dc343600415b0b8fef33f546ee4946 (patch)
tree78c7d90c21be5a1248f0ab67961db26c7a30fd59 /man
parentd08a6ec39c2cb786bbf8ba2a8d480ada2973ad59 (diff)
downloadsystemd-764ae4dd51dc343600415b0b8fef33f546ee4946.tar.gz
man_systemd_home: intrdouce SYSTEMD_HOME_SUSPEND env var
This variable is read by the module and can be used instead of the suspend= PAM module parameter. It is also set for the session itself to make debugging easy.
Diffstat (limited to 'man')
-rw-r--r--man/pam_systemd_home.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/man/pam_systemd_home.xml b/man/pam_systemd_home.xml
index e0e24e5888..ab02f98337 100644
--- a/man/pam_systemd_home.xml
+++ b/man/pam_systemd_home.xml
@@ -73,7 +73,12 @@
the re-authentication must take place from a component running outside of the user's context, so that
it does not require access to the user's home directory for operation. Traditionally, most desktop
environments do not implement screen locking this way, and need to be updated
- accordingly.</para></listitem>
+ accordingly.</para>
+
+ <para>This setting may also be controlled via the <varname>$SYSTEMD_HOME_SUSPEND</varname>
+ environment variable (see below), which <command>pam_systemd_home</command> reads during initialization and sets
+ for sessions. If both the environment variable is set and the module parameter specified the latter
+ takes precedence.</para></listitem>
</varlistentry>
<varlistentry>
@@ -105,6 +110,15 @@
<listitem><para>Indicates that the user's home directory is managed by <filename>systemd-homed.service</filename>.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><varname>$SYSTEMD_HOME_SUSPEND=</varname></term>
+
+ <listitem><para>Indicates whether the session has been registered with the suspend mechanism enabled
+ or disabled (see above). The variable's value is either <literal>0</literal> or
+ <literal>1</literal>. Note that the module both reads the variable when initializing, and sets it for
+ sessions.</para></listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>