shadow/etc
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
..
pam.d build: Make build/installation of su and its support files optional 2019-11-19 11:28:45 +01:00
limits Add support for 2 new resource limits. Thanks to Justin Bronder for the 2007-10-27 19:45:21 +00:00
login.access Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
login.defs add new HOME_MODE login.defs(5) option 2020-01-12 16:18:32 +01:00
Makefile.am [svn-upgrade] Integrating new upstream version, shadow (4.0.16) 2007-10-07 11:47:33 +00:00
useradd Change the default HOME directory in /etc/default/useradd according FHS 2008-02-17 15:29:41 +00:00