shadow/src
Duncan Overbruck a847899b52
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-11 22:27:39 +01:00
..
.gitignore Ignore generated newgidmap and newuidmap 2013-08-11 14:48:39 +02:00
.indent.pro [svn-upgrade] Integrating new upstream version, shadow (4.0.8) 2007-10-07 11:46:07 +00:00
chage.c migrate to new SELinux api 2019-10-22 14:56:31 +02:00
chfn.c migrate to new SELinux api 2019-10-22 14:56:31 +02:00
chgpasswd.c Initial bcrypt support 2019-12-01 11:00:57 -06:00
chpasswd.c Initial bcrypt support 2019-12-01 11:00:57 -06:00
chsh.c migrate to new SELinux api 2019-10-22 14:56:31 +02:00
expiry.c Fixed signal races in shadow tools. 2016-07-02 18:11:09 +02:00
faillog.c * src/faillog.c: The fail_max field is a short, use a short also 2011-11-19 21:44:34 +00:00
gpasswd.c Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
groupadd.c Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
groupdel.c Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
groupmems.c spelling: remove 2017-10-22 21:12:29 +00:00
groupmod.c Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
groups.c * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c, 2010-08-22 19:36:09 +00:00
grpck.c Do not flush nscd and sssd cache in read-only mode 2019-02-27 17:40:04 +01:00
grpconv.c Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
grpunconv.c Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
id.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
lastlog.c login.defs: Add LASTLOG_UID_MAX variable to limit lastlog to small uids. 2018-12-10 13:25:56 -06:00
login_nopam.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
login.c login.defs: Add LASTLOG_UID_MAX variable to limit lastlog to small uids. 2018-12-10 13:25:56 -06:00
logoutd.c * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c, 2010-08-22 19:36:09 +00:00
Makefile.am Makefile: bail out on error in for-loops 2019-12-19 18:54:30 +01:00
newgidmap.c remove unused variables 2019-10-12 20:03:32 -05:00
newgrp.c spelling: logout 2017-10-22 20:28:57 +00:00
newuidmap.c remove unused variables 2019-10-12 20:03:32 -05:00
newusers.c add new HOME_MODE login.defs(5) option 2020-01-11 22:27:39 +01:00
nologin.c Adding logging of SSH_ORIGINAL_COMMAND to nologin. 2020-01-11 14:46:52 -06:00
passwd.c Initial bcrypt support 2019-12-01 11:00:57 -06:00
pwck.c Merge pull request #177 from edneville/conflicts_between_system_users_useradd_and_pwck 2019-10-05 22:08:08 -05:00
pwconv.c Make the sp_lstchg shadow field reproducible (re. #71) 2019-03-31 16:00:01 +01:00
pwunconv.c Flush sssd caches in addition to nscd caches 2018-09-13 14:20:02 +02:00
su.c su.c: run pam_getenvlist() after setup_env 2018-06-25 16:00:21 +02:00
suauth.c spelling: unrecognized 2017-10-22 21:30:30 +00:00
sulogin.c Fixed signal races in shadow tools. 2016-07-02 18:11:09 +02:00
useradd.c add new HOME_MODE login.defs(5) option 2020-01-11 22:27:39 +01:00
userdel.c compile warnings: Zflg unused when !selinux 2019-10-12 20:03:51 -05:00
usermod.c chkname.c, pwck.c, useradd.c, usermod.c, newusers.c: Allow names that do not conform to standards 2019-10-04 18:40:41 -05:00
vipw.c Fix vipw not resuming correctly when suspended 2019-11-11 20:19:57 -06:00