summaryrefslogtreecommitdiffstats
path: root/man/login.defs.d/ENV_TZ.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:54:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:54:37 +0000
commit97c26c1924b076ef23ebe4381558e8aa025712b2 (patch)
tree109724175f07436696f51b14b5abbd3f4d704d6d /man/login.defs.d/ENV_TZ.xml
parentInitial commit. (diff)
downloadshadow-upstream/1%4.13+dfsg1.tar.xz
shadow-upstream/1%4.13+dfsg1.zip
Adding upstream version 1:4.13+dfsg1.upstream/1%4.13+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--man/login.defs.d/ENV_TZ.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/man/login.defs.d/ENV_TZ.xml b/man/login.defs.d/ENV_TZ.xml
new file mode 100644
index 0000000..04d208e
--- /dev/null
+++ b/man/login.defs.d/ENV_TZ.xml
@@ -0,0 +1,24 @@
+<!--
+ SPDX-FileCopyrightText: 1991 - 1993, Julianne Frances Haugh
+ SPDX-FileCopyrightText: 1991 - 1993, Chip Rosenthal
+ SPDX-FileCopyrightText: 2007 - 2008, Nicolas François
+ SPDX-License-Identifier: BSD-3-Clause
+-->
+<varlistentry condition="no_pam">
+ <term><option>ENV_TZ</option> (string)</term>
+ <listitem>
+ <para>
+ If set, it will be used to define the TZ environment variable when
+ a user login. The value can be the name of a timezone preceded by
+ <replaceable>TZ=</replaceable> (for example
+ <replaceable>TZ=CST6CDT</replaceable>), or the full path to the file
+ containing the timezone specification (for example
+ <filename>/etc/tzname</filename>).
+ </para>
+ <!-- TODO: it can in fact be used to set any other variable-->
+ <para>
+ If a full path is specified but the file does not exist or cannot be
+ read, the default is to use <replaceable>TZ=CST6CDT</replaceable>.
+ </para>
+ </listitem>
+</varlistentry>