summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@canonical.com>2020-02-06 23:14:47 +0100
committerBalint Reczey <balint.reczey@canonical.com>2020-02-06 23:14:47 +0100
commitd906ecd3b652d95af6ffb974a2f6669501bb9496 (patch)
tree178a8f140927896970f47930dae9213161268f10 /etc
parent69d932140c70455a282b6e7115d9caf0cc56d6ff (diff)
downloadshadow-d906ecd3b652d95af6ffb974a2f6669501bb9496.tar.gz
New upstream version 4.8.1upstream/4.8.1
Diffstat (limited to 'etc')
-rw-r--r--etc/login.defs7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/login.defs b/etc/login.defs
index cd2597dc..a2f8cd50 100644
--- a/etc/login.defs
+++ b/etc/login.defs
@@ -195,12 +195,17 @@ KILLCHAR 025
# Default initial "umask" value used by login(1) on non-PAM enabled systems.
# Default "umask" value for pam_umask(8) on PAM enabled systems.
# UMASK is also used by useradd(8) and newusers(8) to set the mode for new
-# home directories.
+# home directories if HOME_MODE is not set.
# 022 is the default value, but 027, or even 077, could be considered
# for increased privacy. There is no One True Answer here: each sysadmin
# must make up their mind.
UMASK 022
+# HOME_MODE is used by useradd(8) and newusers(8) to set the mode for new
+# home directories.
+# If HOME_MODE is not set, the value of UMASK is used to create the mode.
+#HOME_MODE 0700
+
#
# Password aging controls:
#