* etc/login.defs: Improve the documentation of UMASK.

This commit is contained in:
nekral-guest 2009-01-19 10:21:50 +00:00
parent a684cadbb6
commit af96cba0cc
2 changed files with 9 additions and 2 deletions

View File

@ -5,6 +5,7 @@
* man/limits.5.xml: Remove space before an end of tag. * man/limits.5.xml: Remove space before an end of tag.
* man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml, * man/useradd.8.xml, man/login.defs.d/CREATE_HOME.xml,
man/login.defs.5.xml: Document the CREATE_HOME variable. man/login.defs.5.xml: Document the CREATE_HOME variable.
* etc/login.defs: Improve the documentation of UMASK.
2009-01-06 Sebastian Rick Rijkers <srrijkers@gmail.com> 2009-01-06 Sebastian Rick Rijkers <srrijkers@gmail.com>

View File

@ -169,7 +169,6 @@ TTYPERM 0600
# #
# ERASECHAR Terminal ERASE character ('\010' = backspace). # ERASECHAR Terminal ERASE character ('\010' = backspace).
# KILLCHAR Terminal KILL character ('\025' = CTRL/U). # KILLCHAR Terminal KILL character ('\025' = CTRL/U).
# UMASK Default "umask" value.
# ULIMIT Default "ulimit" value. # ULIMIT Default "ulimit" value.
# #
# The ERASECHAR and KILLCHAR are used only on System V machines. # The ERASECHAR and KILLCHAR are used only on System V machines.
@ -180,9 +179,16 @@ TTYPERM 0600
# #
ERASECHAR 0177 ERASECHAR 0177
KILLCHAR 025 KILLCHAR 025
UMASK 022
#ULIMIT 2097152 #ULIMIT 2097152
# Default initial "umask" value for non-PAM enabled systems.
# UMASK is also used by useradd and newusers to set the mode of new home
# directories.
# 022 is the default value, but 027, or even 077, could be considered
# better for privacy. There is no One True Answer here: each sysadmin
# must make up her mind.
UMASK 022
# #
# Password aging controls: # Password aging controls:
# #