summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2022-03-02 21:01:26 +0100
committerBalint Reczey <balint@balintreczey.hu>2022-03-03 17:59:33 +0100
commitf6500af0fb00845d79e342c670d075ebdac0dffe (patch)
tree63d79de6a0c4ec67f4fb62f8b7daa137a885d833
parentabd7c0d1a88531424c9329af6b18a552c0fb7dde (diff)
downloadshadow-f6500af0fb00845d79e342c670d075ebdac0dffe.tar.gz
login.defs: List default value of HOME_MODE
-rw-r--r--debian/login.defs5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/login.defs b/debian/login.defs
index 2e43d04e..3e03a961 100644
--- a/debian/login.defs
+++ b/debian/login.defs
@@ -150,6 +150,11 @@ ERASECHAR 0177
KILLCHAR 025
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:
#