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
ed
a2cd3e9ef0
chkname.c, pwck.c, useradd.c, usermod.c, newusers.c: Allow names that do not conform to standards
...
Closes #121 .
Changelog: squashed commits fixing tab style
Changelog: update 'return true' to match file's style (no parens).
2019-10-04 18:40:41 -05:00
Jakub Wilk
a7a7a1fdea
man: Fix typos
2016-08-05 18:50:51 +02:00
Nicolas François
138682fd30
Avoid spaces between <option> and <replaceable>
...
* man/chage.1.xml: Add a non breaking space between options and
their parameter because xml2po removes those spaces. Alioth#314401
* man/chfn.1.xml: Likewise.
* man/chgpasswd.8.xml: Likewise.
* man/chpasswd.8.xml: Likewise.
* man/chsh.1.xml: Likewise.
* man/faillog.8.xml: Likewise.
* man/gpasswd.1.xml: Likewise.
* man/groupadd.8.xml: Likewise.
* man/groupdel.8.xml: Likewise.
* man/groupmems.8.xml: Likewise.
* man/groupmod.8.xml: Likewise.
* man/grpck.8.xml: Likewise.
* man/lastlog.8.xml: Likewise.
* man/newusers.8.xml: Likewise.
* man/passwd.1.xml: Likewise.
* man/pwck.8.xml: Likewise.
* man/pwconv.8.xml: Likewise.
* man/su.1.xml: Likewise.
* man/useradd.8.xml: Likewise.
* man/userdel.8.xml: Likewise.
* man/usermod.8.xml: Likewise.
* man/vipw.8.xml: Likewise.
2013-08-23 20:29:40 +02:00
Nicolas François
5d3a785c55
Manpages improvement for subordinate IDs.
...
* man/newusers.8.xml: Include documentation of SUB_GID_MIN,
SUB_GID_MAX, SUB_GID_COUNT, SUB_UID_MIN, SUB_UID_MAX,
SUB_UID_COUNT.
* man/useradd.8.xml: Likewise.
* man/usermod.8.xml: Likewise.
* man/newusers.8.xml: Document usage of /etc/subgid /etc/subuid.
* man/useradd.8.xml: Likewise.
* man/userdel.8.xml: Likewise.
* man/usermod.8.xml: Likewise.
* man/newusers.8.xml: Add references to subgid(5) and subuid(5).
* man/useradd.8.xml: Likewise.
* man/userdel.8.xml: Likewise.
* man/subgid.5.xml: Sort references alphabetically.
* man/subuid.5.xml: Likewise.
* man/subgid.5.xml: Add references to newusers(8), useradd(8),
userdel(8), usermod(8), user_namespaces(7).
* man/subuid.5.xml: Likewise.
2013-08-11 16:09:59 +02:00
nekral-guest
042d6c48b3
* man/*.xml: Add author based on copyright statement.
...
* man/<ll>/*.[1358], man/<ll>/man[1358]/*.[1358],
man/<ll>/Makefile.am: Sort manpages per section as the generated
manpages.
2012-05-25 11:45:21 +00:00
nekral-guest
61ba4bf46e
* man/newusers.8.xml: Document the optional file argument.
...
* man/newusers.8.xml: Fix the documentation of the inputs' format.
2011-11-11 11:35:56 +00:00
nekral-guest
f3afeb9c04
* NEWS, src/newusers.c, man/newusers.8.xml: Add --root option.
2011-11-06 18:40:22 +00:00
nekral-guest
3bdad35e9f
* man/*.xml, man/config.xml.in: Add source and version
...
information. This reduce the amount of warnings during the
manpages generation.
2011-07-08 19:49:09 +00:00
bubulle
143f479869
Fix typos in manpages
...
Catalan translation updated
2011-06-01 11:58:04 +00:00
nekral-guest
4f8310dfde
* man/newusers.8.xml, man/useradd.8.xml, man/groupadd.8.xml,
...
man/login.defs.d/UMASK.xml, man/login.defs.d/CREATE_HOME.xml,
man/login.defs.d/LOGIN_RETRIES.xml: Fix typos: choosen, overriden,
bahavior.
2010-04-04 23:17:11 +00:00
nekral-guest
50916c195b
* man/newusers.8.xml: Added notes regarding the ownership of
...
files.
2009-05-19 22:17:55 +00:00
nekral-guest
738eac8669
* man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
...
man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
man/groupmod.8.xml: Added warning: passwords set with these tools
may not respect the password policy.
2009-05-19 21:29:26 +00:00
nekral-guest
321e3ed02c
* man/newusers.8.xml: PAM enabled version: describe how passwords
...
are updated and how newusers behave in case of error.
2009-05-11 19:29:38 +00:00
nekral-guest
7f9e196903
* NEWS, src/newusers.c, src/Makefile.am: Added support for
...
changing the passwords with PAM.
* src/newusers.c: Split the usage string in smaller parts to
allow enabling single parts.
* man/newusers.8.xml: Indicate the options and configuration
variables valid for PAM and non-PAM versions.
* man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.
2009-05-09 13:15:57 +00:00
nekral-guest
dc857372ed
* man/newusers.8.xml: Document the behavior of newusers for each
...
field.
* man/newusers.8.xml: Do not add the note on PAM on non-PAM
enabled configurations.
2009-03-13 23:12:06 +00:00
nekral-guest
4b2f537795
* man/*.xml, man/login.defs.d/*.xml: Added copyright and licence
...
header.
2008-10-11 11:44:43 +00:00
nekral-guest
9c69fe73b1
Tag the section which require --enable-shadowgrp or --with-sha-crypt
...
accordingly.
2008-05-19 22:18:14 +00:00
nekral-guest
461d69522f
* NEWS, man/groupadd.8.xml: Document the -r, --system option.
...
* NEWS, man/newusers.8.xml: Document the -r, --system option.
* NEWS, man/newusers.8.xml: Document the -c, --crypt-method and
-s, --sha-rounds options.
2008-05-19 20:53:12 +00:00
nekral-guest
7ce94164c7
* man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
...
Document new variables.
* man/newusers.8.xml, man/login.defs.5.xml,
man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
* man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
SYS_GID_MAX, and SYS_GID_MIN variables.
* man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
2008-02-25 21:17:18 +00:00
nekral-guest
0f7f0ea467
* man/chfn.1.xml: Uses CHFN_AUTH, CHFN_RESTRICT, LOGIN_STRING.
...
* man/chgpasswd.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
* man/chpasswd.8.xml: Switch to using entities for ENCRYPT_METHOD,
MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS (SHA_CRYPT_MAX_ROUNDS).
* man/chsh.1.xml: Uses CHSH_AUTH, LOGIN_STRING.
* man/expiry.1.xml: Does not use any login.defs parameter.
* man/gpasswd.1.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS.
* man/login.defs.5.xml: Added CHSH_AUTH.
* man/login.defs.5.xml: Cross reference -> cross references.
* man/login.defs.5.xml: chfn only uses CHFN_AUTH when no_pam.
* man/login.defs.5.xml: chsh uses CHSH_AUTH, not CHFN_AUTH.
* man/login.defs.d/CHSH_AUTH.xml: Added.
* man/login.defs.5.xml: chsh uses parameters only when no_pam.
* man/login.defs.5.xml: expiry does not use CONSOLE_GROUPS, even
if linked in the binary.
* man/newusers.8.xml: Uses ENCRYPT_METHOD, MAX_MEMBERS_PER_GROUP,
MD5_CRYPT_ENAB, PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE,
SHA_CRYPT_MIN_ROUNDS, UMASK.
2007-11-26 23:27:56 +00:00
nekral-guest
ece64e4195
Fix typo.
2007-11-25 22:05:08 +00:00
nekral-guest
a34110320f
* man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
...
and /etc/passwd to section FILES.
* man/newusers.8.xml: Mentions that PAM is not used to set the
passwords.
* man/chpasswd.8.xml: Added section FILES (/etc/passwd,
/etc/shadow, /etc/login.defs).
* man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
to indicate that PAM is not used.
* man/chgpasswd.8.xml: Added section FILES (/etc/group,
/etc/gshadow, /etc/login.defs).
2007-11-21 22:12:14 +00:00
nekral-guest
b2120265fd
Added the subversion svn:keywords property (Id) for proper identification.
2007-11-10 23:46:11 +00:00
nekral-guest
79bf2081fe
Commit the last version from the PLD CVS repository.
...
(last changelog entry: 2007-02-01)
This also adds the files which were present in the CVS repository, but not
present in the shadow archives.
2007-10-07 14:36:51 +00:00
nekral-guest
0fa9083026
[svn-upgrade] Integrating new upstream version, shadow (4.0.16)
2007-10-07 11:47:33 +00:00
nekral-guest
24178ad677
[svn-upgrade] Integrating new upstream version, shadow (4.0.14)
2007-10-07 11:47:11 +00:00
nekral-guest
8451bed8b0
[svn-upgrade] Integrating new upstream version, shadow (4.0.13)
2007-10-07 11:47:01 +00:00
nekral-guest
8c50e06102
[svn-upgrade] Integrating new upstream version, shadow (4.0.10)
2007-10-07 11:46:25 +00:00
nekral-guest
7c47e0fde3
[svn-upgrade] Integrating new upstream version, shadow (4.0.9)
2007-10-07 11:46:16 +00:00