2008-10-11 17:14:43 +05:30
|
|
|
<!--
|
2021-12-05 21:05:27 +05:30
|
|
|
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
|
2008-10-11 17:14:43 +05:30
|
|
|
-->
|
2007-11-27 03:41:23 +05:30
|
|
|
<varlistentry>
|
|
|
|
<term><option>UMASK</option> (number)</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2009-01-19 15:21:00 +05:30
|
|
|
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
|
2020-01-12 02:49:37 +05:30
|
|
|
mask to set the mode of the home directory they create if
|
|
|
|
<option>HOME_MODE</option> is not set.
|
2009-01-19 15:21:00 +05:30
|
|
|
</para>
|
|
|
|
<para condition="no_pam">
|
|
|
|
It is also used by <command>login</command> to define users' initial
|
2010-04-05 04:47:11 +05:30
|
|
|
umask. Note that this mask can be overridden by the user's GECOS
|
2009-01-19 15:21:00 +05:30
|
|
|
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>.
|
2007-11-27 03:41:23 +05:30
|
|
|
</para>
|
2010-03-28 01:41:21 +05:30
|
|
|
<para condition="pam">
|
|
|
|
It is also used by <command>pam_umask</command> as the default umask
|
|
|
|
value.
|
|
|
|
</para>
|
2007-11-27 03:41:23 +05:30
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|