shadow/man/login.defs.d
Duncan Overbruck 085d04c3dd
add new HOME_MODE login.defs(5) option
This option can be used to set a separate mode for useradd(8) and
newusers(8) to create the home directories with.
If this option is not set, the current behavior of using UMASK
or the default umask is preserved.

There are many distributions that set UMASK to 077 by default just
to create home directories not readable by others and use things like
/etc/profile, bashrc or sudo configuration files to set a less
restrictive
umask. This has always resulted in bug reports because it is hard
to follow as users tend to change files like bashrc and are not about
setting the umask to counteract the umask set in /etc/login.defs.

A recent change in sudo has also resulted in many bug reports about
this. sudo now tries to respect the umask set by pam modules and on
systems where pam does not set a umask, the login.defs UMASK value is
used.
2020-01-12 16:18:32 +01:00
..
CHFN_AUTH.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
CHFN_RESTRICT.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
CHSH_AUTH.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
CONSOLE_GROUPS.xml * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, 2009-04-11 22:36:11 +00:00
CONSOLE.xml * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE 2009-05-16 17:08:44 +00:00
CREATE_HOME.xml * man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml, 2010-04-04 23:17:11 +00:00
DEFAULT_HOME.xml Fix typos in manpages 2011-06-01 11:58:04 +00:00
ENCRYPT_METHOD.xml * man/login.defs.d/ENCRYPT_METHOD.xml: Avoid using sub-lists. They 2009-08-21 15:02:32 +00:00
ENV_HZ.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
ENV_PATH.xml * man/useradd.8.xml, man/su.1.xml, man/po/da.po, man/po/ru.po, 2012-02-02 19:05:34 +00:00
ENV_SUPATH.xml * man/useradd.8.xml, man/su.1.xml, man/po/da.po, man/po/ru.po, 2012-02-02 19:05:34 +00:00
ENV_TZ.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
ENVIRON_FILE.xml * man/login.defs.d/ENVIRON_FILE.xml: Document the format for 2009-06-04 17:23:08 +00:00
ERASECHAR.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
FAIL_DELAY.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
FAILLOG_ENAB.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
FAKE_SHELL.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
FTMP_FILE.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
GID_MAX.xml * man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml, 2011-11-19 14:33:53 +00:00
HOME_MODE.xml add new HOME_MODE login.defs(5) option 2020-01-12 16:18:32 +01:00
HUSHLOGIN_FILE.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
ISSUE_FILE.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
KILLCHAR.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
LASTLOG_ENAB.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
LASTLOG_UID_MAX.xml login.defs: Add LASTLOG_UID_MAX variable to limit lastlog to small uids. 2018-12-10 13:25:56 -06:00
LOG_OK_LOGINS.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
LOG_UNKFAIL_ENAB.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
LOGIN_RETRIES.xml Fix typos in manpages 2011-06-01 11:58:04 +00:00
LOGIN_STRING.xml * man/login.defs.d/LOGIN_STRING.xml: Fix typo. 2011-10-15 16:01:07 +00:00
LOGIN_TIMEOUT.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
MAIL_CHECK_ENAB.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
MAIL_DIR.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
MAX_MEMBERS_PER_GROUP.xml * man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml, 2009-04-11 22:36:11 +00:00
MD5_CRYPT_ENAB.xml Fix typos in manpages 2011-06-01 11:58:04 +00:00
MOTD_FILE.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
NOLOGINS_FILE.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
OBSCURE_CHECKS_ENAB.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
PASS_ALWAYS_WARN.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
PASS_CHANGE_TRIES.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
PASS_MAX_DAYS.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
PASS_MAX_LEN.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
PASS_MIN_DAYS.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
PASS_WARN_AGE.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
PORTTIME_CHECKS_ENAB.xml Fix typos in manpages 2011-06-01 11:58:04 +00:00
QUOTAS_ENAB.xml * man/login.defs.d/QUOTAS_ENAB.xml: Document the dependency 2011-09-18 17:00:28 +00:00
SHA_CRYPT_MIN_ROUNDS.xml Fix typos in manpages 2011-06-01 11:58:04 +00:00
SU_NAME.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
SU_WHEEL_ONLY.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
SUB_GID_COUNT.xml Fix the default mentioned in man page for SUB_UID/GID_COUNT variables. 2019-01-31 13:30:59 +01:00
SUB_UID_COUNT.xml Fix the default mentioned in man page for SUB_UID/GID_COUNT variables. 2019-01-31 13:30:59 +01:00
SULOG_FILE.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
SYS_GID_MAX.xml * man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml, 2011-11-19 14:33:53 +00:00
SYS_UID_MAX.xml * man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml, 2011-11-19 14:33:53 +00:00
SYSLOG_SG_ENAB.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
SYSLOG_SU_ENAB.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
TCB_AUTH_GROUP.xml 2010-01-30 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org> 2010-03-04 18:11:13 +00:00
TCB_SYMLINKS.xml 2010-01-30 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org> 2010-03-04 18:11:13 +00:00
TTYGROUP.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
TTYTYPE_FILE.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
UID_MAX.xml * man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml, 2011-11-19 14:33:53 +00:00
ULIMIT.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00
UMASK.xml add new HOME_MODE login.defs(5) option 2020-01-12 16:18:32 +01:00
USE_TCB.xml 2010-01-30 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org> 2010-03-04 18:11:13 +00:00
USERDEL_CMD.xml * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml: 2009-05-21 12:02:12 +00:00
USERGROUPS_ENAB.xml * man/*.xml, man/login.defs.d/*.xml: Added copyright and licence 2008-10-11 11:44:43 +00:00