diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:54:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:54:37 +0000 |
commit | 97c26c1924b076ef23ebe4381558e8aa025712b2 (patch) | |
tree | 109724175f07436696f51b14b5abbd3f4d704d6d /man/login.defs.d/UMASK.xml | |
parent | Initial commit. (diff) | |
download | shadow-97c26c1924b076ef23ebe4381558e8aa025712b2.tar.xz shadow-97c26c1924b076ef23ebe4381558e8aa025712b2.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/UMASK.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/man/login.defs.d/UMASK.xml b/man/login.defs.d/UMASK.xml new file mode 100644 index 0000000..1090e05 --- /dev/null +++ b/man/login.defs.d/UMASK.xml @@ -0,0 +1,32 @@ +<!-- + SPDX-FileCopyrightText: 1991 - 1993, Julianne Frances Haugh + SPDX-FileCopyrightText: 1991 - 1993, Chip Rosenthal + SPDX-FileCopyrightText: 2007 - 2009, Nicolas François + SPDX-License-Identifier: BSD-3-Clause +--> +<varlistentry> + <term><option>UMASK</option> (number)</term> + <listitem> + <para> + The file mode creation mask is initialized to this value. If not + specified, the mask will be initialized to 022. + </para> + <para> + <command>useradd</command> and <command>newusers</command> use this + mask to set the mode of the home directory they create if + <option>HOME_MODE</option> is not set. + </para> + <para condition="no_pam"> + It is also used by <command>login</command> to define users' initial + umask. Note that this mask can be overridden by the user's GECOS + line (if <option>QUOTAS_ENAB</option> is set) or by the + specification of a limit with the <emphasis>K</emphasis> identifier + in <citerefentry><refentrytitle>limits</refentrytitle> + <manvolnum>5</manvolnum></citerefentry>. + </para> + <para condition="pam"> + It is also used by <command>pam_umask</command> as the default umask + value. + </para> + </listitem> +</varlistentry> |