shadow/man/login.defs.d/UMASK.xml
Serge Hallyn f93cf255d4 Update licensing info
Closes #238

Update all files to list SPDX license shortname.  Most files are
BSD 3 clause license.

The exceptions are:

serge@sl ~/src/shadow$ git grep SPDX-License | grep -v BSD-3-Clause
contrib/atudel:# SPDX-License-Identifier: BSD-4-Clause
lib/tcbfuncs.c: * SPDX-License-Identifier: 0BSD
libmisc/salt.c: * SPDX-License-Identifier: Unlicense
src/login_nopam.c: * SPDX-License-Identifier: Unlicense
src/nologin.c: * SPDX-License-Identifier: BSD-2-Clause
src/vipw.c: * SPDX-License-Identifier: GPL-2.0-or-later

Signed-off-by: Serge Hallyn <serge@hallyn.com>
2021-12-23 19:36:50 -06:00

33 lines
1.2 KiB
XML

<!--
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>