diff options
Diffstat (limited to 'man/man5/login.defs.5')
-rw-r--r-- | man/man5/login.defs.5 | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/man/man5/login.defs.5 b/man/man5/login.defs.5 index 8903e6c7..3ac322fa 100644 --- a/man/man5/login.defs.5 +++ b/man/man5/login.defs.5 @@ -2,12 +2,12 @@ .\" Title: login.defs .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 12/01/2019 +.\" Date: 01/23/2020 .\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.8 +.\" Source: shadow-utils 4.8.1 .\" Language: English .\" -.TH "LOGIN\&.DEFS" "5" "12/01/2019" "shadow\-utils 4\&.8" "File Formats and Conversions" +.TH "LOGIN\&.DEFS" "5" "01/23/2020" "shadow\-utils 4\&.8\&.1" "File Formats and Conversions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -223,6 +223,18 @@ The default value for \fBGID_MAX\fR) is 1000 (resp\&. 60000)\&. .RE .PP +\fBHOME_MODE\fR (number) +.RS 4 +The mode for new home directories\&. If not specified, the +\fBUMASK\fR +is used to create the mode\&. +.sp +\fBuseradd\fR +and +\fBnewusers\fR +use this to set the mode of the home directory they create\&. +.RE +.PP \fBHUSHLOGIN_FILE\fR (string) .RS 4 If defined, this file can inhibit all the usual chatter during the login sequence\&. If a full pathname is specified, then hushed mode will be enabled if the user\*(Aqs name or shell are found in the file\&. If not a full pathname, then hushed mode will be enabled if the file exists in the user\*(Aqs home directory\&. @@ -608,7 +620,9 @@ The file mode creation mask is initialized to this value\&. If not specified, th \fBuseradd\fR and \fBnewusers\fR -use this mask to set the mode of the home directory they create +use this mask to set the mode of the home directory they create if +\fBHOME_MODE\fR +is not set\&. .sp It is also used by \fBlogin\fR @@ -776,7 +790,7 @@ SYSLOG_SG_ENAB .PP newusers .RS 4 -ENCRYPT_METHOD GID_MAX GID_MIN MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE +ENCRYPT_METHOD GID_MAX GID_MIN MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB HOME_MODE PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SHA_CRYPT_MAX_ROUNDS SHA_CRYPT_MIN_ROUNDS SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK .RE @@ -818,7 +832,7 @@ ENV_TZ .PP useradd .RS 4 -CREATE_HOME GID_MAX GID_MIN LASTLOG_UID_MAX MAIL_DIR MAX_MEMBERS_PER_GROUP PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK +CREATE_HOME GID_MAX GID_MIN HOME_MODE LASTLOG_UID_MAX MAIL_DIR MAX_MEMBERS_PER_GROUP PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK .RE .PP userdel |