shadow/man
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
..
cs man: Don't suggest making groupmems user-writeable 2019-12-17 21:27:46 +01:00
da * NEWS, man/generate_mans.mak: Generate manpages in man1, man3, 2012-05-20 10:18:33 +00:00
de * NEWS, man/generate_mans.mak: Generate manpages in man1, man3, 2012-05-20 10:18:33 +00:00
es * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
fi * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
fr Allow disabling of subordinate IDs. 2013-08-11 15:46:59 +02:00
hu * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
id * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
it * NEWS, man/generate_mans.mak: Generate manpages in man1, man3, 2012-05-20 10:18:33 +00:00
ja Syntax fix in Japanese manpage 2013-07-29 10:18:41 +02:00
ko * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
login.defs.d add new HOME_MODE login.defs(5) option 2020-01-11 22:27:39 +01:00
pl * NEWS, man/generate_mans.mak: Generate manpages in man1, man3, 2012-05-20 10:18:33 +00:00
po man: Don't suggest making groupmems user-writeable 2019-12-17 21:27:46 +01:00
pt_BR * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
ru * NEWS, man/generate_mans.mak: Generate manpages in man1, man3, 2012-05-20 10:18:33 +00:00
sv * NEWS, man/generate_mans.mak: Generate manpages in man1, man3, 2012-05-20 10:18:33 +00:00
tr * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
zh_CN * NEWS, man/generate_mans.mak: Generate manpages in man1, man3, 2012-05-20 10:18:33 +00:00
zh_TW * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
.gitignore 2012-02-13 Mike Frysinger <vapier@gentoo.org> 2012-02-13 20:04:40 +00:00
chage.1.xml chage.c: add support for YYYY-MM-DD date printing 2019-08-06 19:40:36 +01:00
chfn.1.xml Avoid spaces between <option> and <replaceable> 2013-08-23 20:29:40 +02:00
chgpasswd.8.xml man: Fix a number of typos for various commands. 2016-04-28 15:56:28 +02:00
chpasswd.8.xml man: Fix a number of typos for various commands. 2016-04-28 15:56:28 +02:00
chsh.1.xml Avoid spaces between <option> and <replaceable> 2013-08-23 20:29:40 +02:00
config.xml.in * man/*.xml, man/config.xml.in: Add source and version 2011-07-08 19:49:09 +00:00
expiry.1.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
faillog.5.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
faillog.8.xml Avoid spaces between <option> and <replaceable> 2013-08-23 20:29:40 +02:00
generate_mans.mak Merge pull request #55 from glensc/travis2 2016-12-06 23:27:19 -06:00
generate_translations.mak man: generate translations using itstool instead of xml2po 2019-11-03 13:04:17 +01:00
gpasswd.1.xml Avoid spaces between <option> and <replaceable> 2013-08-23 20:29:40 +02:00
groupadd.8.xml add --prefix option 2017-03-01 22:51:09 +01:00
groupdel.8.xml add --prefix option 2017-03-01 22:51:09 +01:00
groupmems.8.xml man: Don't suggest making groupmems user-writeable 2019-12-17 21:27:46 +01:00
groupmod.8.xml upstream merge 2018-01-23 23:10:19 +01:00
groups.1.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
grpck.8.xml Avoid spaces between <option> and <replaceable> 2013-08-23 20:29:40 +02:00
gshadow.5.xml man: Fix typos 2016-08-05 18:50:51 +02:00
id.1.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
lastlog.8.xml login.defs: Add LASTLOG_UID_MAX variable to limit lastlog to small uids. 2018-12-10 13:25:56 -06:00
limits.5.xml man: Fix typos 2016-08-05 18:50:51 +02:00
login.1.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
login.access.5.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
login.defs.5.xml add new HOME_MODE login.defs(5) option 2020-01-11 22:27:39 +01:00
logoutd.8.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
Makefile.am build: Make build/installation of su and its support files optional 2019-11-19 11:28:45 +01:00
newgidmap.1.xml Fixed typos in new{g,u}idmap tools. 2016-07-02 16:39:18 +02:00
newgrp.1.xml Fix encoding. 2013-08-23 20:29:42 +02:00
newuidmap.1.xml Fixed typos in new{g,u}idmap tools. 2016-07-02 16:39:18 +02:00
newusers.8.xml 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
nologin.8.xml Adding logging of SSH_ORIGINAL_COMMAND to nologin. 2020-01-11 14:46:52 -06:00
passwd.1.xml Add note to passwd(1) that --maxdays -1 disables the setting. 2018-01-03 18:36:40 +01:00
passwd.5.xml man: sync and reorder password field descriptions 2019-11-16 15:35:08 +02:00
porttime.5.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
pwck.8.xml 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
pwconv.8.xml Avoid spaces between <option> and <replaceable> 2013-08-23 20:29:40 +02:00
README.md man: generate translations using itstool instead of xml2po 2019-11-03 13:04:17 +01:00
sg.1.xml Fix encoding. 2013-08-23 20:29:42 +02:00
shadow.3.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
shadow.5.xml man: sync and reorder password field descriptions 2019-11-16 15:35:08 +02:00
su.1.xml su.c: be more predictable 2018-03-27 00:57:21 +02:00
suauth.5.xml man: Fix a number of typos for various commands. 2016-04-28 15:56:28 +02:00
subgid.5.xml sub[ug]id manpages: add note about performance when using login names versus UIDs 2014-09-17 15:48:17 -05:00
subuid.5.xml sub[ug]id manpages: add note about performance when using login names versus UIDs 2014-09-17 15:48:17 -05:00
sulogin.8.xml * man/*.xml: Add author based on copyright statement. 2012-05-25 11:45:21 +00:00
useradd.8.xml 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
userdel.8.xml add --prefix option 2017-03-01 22:51:09 +01:00
usermod.8.xml Deduplicate usermod manual (fixes #202) 2019-12-18 11:20:40 +05:30
vipw.8.xml Avoid spaces between <option> and <replaceable> 2013-08-23 20:29:40 +02:00

The official releases ship with pre-built manpages.

The content of the man pages however is dependent on compile flags. So the pre-built ones might not fit your version of shadow. To build them yourself use --enable-man. Furthermore the following build requirements will be needed:

  • xsltproc
  • docbook 4
  • docbook stylesheets
  • itstool