From 06cf122aaf0b00d5e4bdd9f88550bb355735fb5d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 26 Jun 2024 18:20:26 +0200 Subject: Adding debian version 1:4.15.2-2. Signed-off-by: Daniel Baumann --- debian/HOME_MODE.xml | 43 ------- debian/changelog | 21 ++++ debian/control | 3 +- debian/copyright | 6 - debian/login.install | 1 - debian/login.manpages | 4 - debian/login.postinst | 9 -- debian/not-installed | 6 +- debian/passwd.manpages | 2 + .../Document-the-shadowconfig-utility.patch | 90 ++++++++++++--- .../Relax-usernames-groupnames-checking.patch | 124 --------------------- debian/patches/ccpw-add-selinux-support.patch | 65 ----------- debian/patches/cppw-add-selinux-support.patch | 65 +++++++++++ debian/patches/series | 4 +- ...ept-the-O-flag-for-backward-compatibility.patch | 52 --------- debian/rules | 6 +- 16 files changed, 173 insertions(+), 328 deletions(-) delete mode 100644 debian/HOME_MODE.xml delete mode 100644 debian/patches/Relax-usernames-groupnames-checking.patch delete mode 100644 debian/patches/ccpw-add-selinux-support.patch create mode 100644 debian/patches/cppw-add-selinux-support.patch delete mode 100644 debian/patches/useradd-accept-the-O-flag-for-backward-compatibility.patch diff --git a/debian/HOME_MODE.xml b/debian/HOME_MODE.xml deleted file mode 100644 index 21aa55f..0000000 --- a/debian/HOME_MODE.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - (number) - - - The mode for new home directories. If not specified, - the is used to create the mode. - - - useradd and newusers use this - to set the mode of the home directory they create. - - - diff --git a/debian/changelog b/debian/changelog index e337434..557e843 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,24 @@ +shadow (1:4.15.2-2) unstable; urgency=medium + + * useradd(8): Fix missing paragraph on username length + * d/rules: explicitly set --with-audit and --enable-subordinate-ids + * Remove faillog support. + Stop installing faillog binary and man pages. Stop creating + /var/log/faillog in login.postinst. + PAM has removed support for /var/log/faillog by dropping pam_tally, and + login itself cannot write to it either. + * Use upstream's restrictions on user- and group names again. + Upstream started supporting mixed-case names some time ago. + Purely numeric names (#79682) are now forbidden again, as there is no + way of distinguishing them from user/group IDs otherwise. + * Drop useradd's backwards-compatibility -O flag + * Remove our copy of HOME_MODE.xml, identical upstream + * shadowconfig.8: actually install again + * passwd: add Depends: login. + Stop-gap until passwd can takeover /etc/login.defs from login. + + -- Chris Hofstaedtler Tue, 25 Jun 2024 19:42:24 +0200 + shadow (1:4.15.2-1) unstable; urgency=medium * New upstream version 4.15.2 diff --git a/debian/control b/debian/control index e10fe36..2773d10 100644 --- a/debian/control +++ b/debian/control @@ -39,7 +39,8 @@ Package: passwd Architecture: any Multi-Arch: foreign Depends: - libpam-modules + libpam-modules, + login Recommends: sensible-utils Description: change and administer password and group data diff --git a/debian/copyright b/debian/copyright index 13c9b73..f9340ed 100644 --- a/debian/copyright +++ b/debian/copyright @@ -137,12 +137,6 @@ Copyright: 1999-2001, Ben Collins 2017-2022 Balint Reczey License: BSD-3-clause -Files: debian/HOME_MODE.xml -Copyright: 1991-1993, Chip Rosenthal - 1991-1993, Julianne Frances Haugh - 2007-2009, Nicolas François -License: BSD-3-clause - Files: debian/patches/cppw-Add-tool.patch Copyright: 1997, Guy Maor 1999, Stephen Frost diff --git a/debian/login.install b/debian/login.install index fd8bd12..ab03fc5 100644 --- a/debian/login.install +++ b/debian/login.install @@ -1,6 +1,5 @@ bin/login usr/bin debian/login.defs etc sbin/nologin usr/sbin -usr/bin/faillog usr/bin/newgrp usr/share/locale/*/LC_MESSAGES/shadow.mo diff --git a/debian/login.manpages b/debian/login.manpages index 6bb716f..1183942 100644 --- a/debian/login.manpages +++ b/debian/login.manpages @@ -1,14 +1,10 @@ usr/share/man/*/man1/login.1 usr/share/man/*/man1/newgrp.1 usr/share/man/*/man1/sg.1 -usr/share/man/*/man5/faillog.5 usr/share/man/*/man5/login.defs.5 -usr/share/man/*/man8/faillog.8 usr/share/man/*/man8/nologin.8 usr/share/man/man1/login.1 usr/share/man/man1/newgrp.1 usr/share/man/man1/sg.1 -usr/share/man/man5/faillog.5 usr/share/man/man5/login.defs.5 -usr/share/man/man8/faillog.8 usr/share/man/man8/nologin.8 diff --git a/debian/login.postinst b/debian/login.postinst index 2261e1b..e91a2d5 100644 --- a/debian/login.postinst +++ b/debian/login.postinst @@ -1,16 +1,7 @@ #!/bin/sh - set -e - if [ "$1" = "configure" ]; then - # Install faillog during initial installs only - if [ "$2" = "" ] && [ ! -f "$DPKG_ROOT/var/log/faillog" ] ; then - touch "$DPKG_ROOT/var/log/faillog" - chown 0:0 "$DPKG_ROOT/var/log/faillog" - chmod 644 "$DPKG_ROOT/var/log/faillog" - fi - # Create subuid/subgid if missing if [ ! -e "$DPKG_ROOT/etc/subuid" ]; then touch "$DPKG_ROOT/etc/subuid" diff --git a/debian/not-installed b/debian/not-installed index 9d7299a..d72a23e 100644 --- a/debian/not-installed +++ b/debian/not-installed @@ -1,5 +1,4 @@ bin/groups -etc/default/useradd etc/login.defs etc/pam.d/chfn etc/pam.d/chage @@ -15,6 +14,7 @@ etc/pam.d/passwd etc/pam.d/useradd etc/pam.d/userdel etc/pam.d/usermod +usr/bin/faillog usr/bin/sg usr/lib/*/libsubid.la usr/sbin/logoutd @@ -24,13 +24,17 @@ usr/share/man/*/man1/logoutd.1 usr/share/man/*/man1/su.1 usr/share/man/*/man3/getspnam.3 usr/share/man/*/man3/shadow.3 +usr/share/man/*/man5/faillog.5 usr/share/man/*/man5/suauth.5 +usr/share/man/*/man8/faillog.8 usr/share/man/*/man8/logoutd.8 usr/share/man/man1/groups.1 usr/share/man/man1/logoutd.1 usr/share/man/man1/su.1 usr/share/man/man3/getspnam.3 usr/share/man/man3/shadow.3 +usr/share/man/man5/faillog.5 usr/share/man/man5/suauth.5 +usr/share/man/man8/faillog.8 usr/share/man/man8/logoutd.8 diff --git a/debian/passwd.manpages b/debian/passwd.manpages index fee633b..5e07649 100644 --- a/debian/passwd.manpages +++ b/debian/passwd.manpages @@ -24,6 +24,7 @@ usr/share/man/*/man8/newusers.8 usr/share/man/*/man8/pwck.8 usr/share/man/*/man8/pwconv.8 usr/share/man/*/man8/pwunconv.8 +usr/share/man/*/man8/shadowconfig.8 usr/share/man/*/man8/useradd.8 usr/share/man/*/man8/userdel.8 usr/share/man/*/man8/usermod.8 @@ -53,6 +54,7 @@ usr/share/man/man8/newusers.8 usr/share/man/man8/pwck.8 usr/share/man/man8/pwconv.8 usr/share/man/man8/pwunconv.8 +usr/share/man/man8/shadowconfig.8 usr/share/man/man8/useradd.8 usr/share/man/man8/userdel.8 usr/share/man/man8/usermod.8 diff --git a/debian/patches/Document-the-shadowconfig-utility.patch b/debian/patches/Document-the-shadowconfig-utility.patch index a00afb2..5aee1d0 100644 --- a/debian/patches/Document-the-shadowconfig-utility.patch +++ b/debian/patches/Document-the-shadowconfig-utility.patch @@ -7,23 +7,59 @@ Its man page also (but it used to be distributed) Gbp-Topic: debian --- - man/fr/shadowconfig.8 | 26 +++++++++++++++++++++++++ - man/ja/shadowconfig.8 | 25 ++++++++++++++++++++++++ - man/pl/shadowconfig.8 | 27 ++++++++++++++++++++++++++ - man/shadowconfig.8 | 41 +++++++++++++++++++++++++++++++++++++++ - man/shadowconfig.8.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 171 insertions(+) - create mode 100644 man/fr/shadowconfig.8 - create mode 100644 man/ja/shadowconfig.8 - create mode 100644 man/pl/shadowconfig.8 + man/Makefile.am | 2 ++ + man/fr/Makefile.am | 1 + + man/fr/man8/shadowconfig.8 | 26 +++++++++++++++++++++++ + man/ja/Makefile.am | 1 + + man/ja/man8/shadowconfig.8 | 25 ++++++++++++++++++++++ + man/pl/Makefile.am | 1 + + man/pl/man8/shadowconfig.8 | 27 ++++++++++++++++++++++++ + man/shadowconfig.8 | 41 ++++++++++++++++++++++++++++++++++++ + man/shadowconfig.8.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++ + 9 files changed, 176 insertions(+) + create mode 100644 man/fr/man8/shadowconfig.8 + create mode 100644 man/ja/man8/shadowconfig.8 + create mode 100644 man/pl/man8/shadowconfig.8 create mode 100644 man/shadowconfig.8 create mode 100644 man/shadowconfig.8.xml -diff --git a/man/fr/shadowconfig.8 b/man/fr/shadowconfig.8 +diff --git a/man/Makefile.am b/man/Makefile.am +index 83b1d68..dab98f4 100644 +--- a/man/Makefile.am ++++ b/man/Makefile.am +@@ -37,6 +37,7 @@ man_MANS = \ + man8/pwck.8 \ + man8/pwconv.8 \ + man8/pwunconv.8 \ ++ man8/shadowconfig.8 \ + man1/sg.1 \ + man3/shadow.3 \ + man5/shadow.5 \ +@@ -108,6 +109,7 @@ man_XMANS = \ + porttime.5.xml \ + pwck.8.xml \ + pwconv.8.xml \ ++ shadowconfig.8.xml \ + shadow.3.xml \ + shadow.5.xml \ + sg.1.xml \ +diff --git a/man/fr/Makefile.am b/man/fr/Makefile.am +index 335e029..78aee9a 100644 +--- a/man/fr/Makefile.am ++++ b/man/fr/Makefile.am +@@ -32,6 +32,7 @@ man_MANS = \ + man8/pwck.8 \ + man8/pwconv.8 \ + man8/pwunconv.8 \ ++ man8/shadowconfig.8 \ + man1/sg.1 \ + man3/shadow.3 \ + man5/shadow.5 \ +diff --git a/man/fr/man8/shadowconfig.8 b/man/fr/man8/shadowconfig.8 new file mode 100644 index 0000000..784da70 --- /dev/null -+++ b/man/fr/shadowconfig.8 ++++ b/man/fr/man8/shadowconfig.8 @@ -0,0 +1,26 @@ +.\" This file was generated with po4a. Translate the source file. +.\" @@ -51,11 +87,23 @@ index 0000000..784da70 +.SH TRADUCTION +Nicolas FRANÇOIS, 2004. +Veuillez signaler toute erreur à <\fIdebian\-l10\-french@lists.debian.org\fR>. -diff --git a/man/ja/shadowconfig.8 b/man/ja/shadowconfig.8 +diff --git a/man/ja/Makefile.am b/man/ja/Makefile.am +index 13f18da..c72097f 100644 +--- a/man/ja/Makefile.am ++++ b/man/ja/Makefile.am +@@ -27,6 +27,7 @@ man_MANS = \ + man8/pwck.8 \ + man8/pwconv.8 \ + man8/pwunconv.8 \ ++ man8/shadowconfig.8 \ + man1/sg.1 \ + man5/shadow.5 \ + man1/su.1 \ +diff --git a/man/ja/man8/shadowconfig.8 b/man/ja/man8/shadowconfig.8 new file mode 100644 index 0000000..a75c6f7 --- /dev/null -+++ b/man/ja/shadowconfig.8 ++++ b/man/ja/man8/shadowconfig.8 @@ -0,0 +1,25 @@ +.\" all right reserved, +.\" Translated Tue Oct 30 11:59:11 JST 2001 @@ -82,11 +130,23 @@ index 0000000..a75c6f7 + +.I /usr/share/doc/passwd/README.debian.gz +には shadow パスワードとそれに関する特徴の簡単な紹介が書かれている。 -diff --git a/man/pl/shadowconfig.8 b/man/pl/shadowconfig.8 +diff --git a/man/pl/Makefile.am b/man/pl/Makefile.am +index b2f096f..aa79af2 100644 +--- a/man/pl/Makefile.am ++++ b/man/pl/Makefile.am +@@ -18,6 +18,7 @@ man_MANS = \ + man8/logoutd.8 \ + man1/newgrp.1 \ + man1/sg.1 \ ++ man8/shadowconfig.8 \ + man3/shadow.3 \ + man8/userdel.8 \ + man8/usermod.8 \ +diff --git a/man/pl/man8/shadowconfig.8 b/man/pl/man8/shadowconfig.8 new file mode 100644 index 0000000..2016c9f --- /dev/null -+++ b/man/pl/shadowconfig.8 ++++ b/man/pl/man8/shadowconfig.8 @@ -0,0 +1,27 @@ +.\" $Id: shadowconfig.8,v 1.3 2001/08/23 23:10:51 kloczek Exp $ +.\" {PTM/WK/1999-09-14} diff --git a/debian/patches/Relax-usernames-groupnames-checking.patch b/debian/patches/Relax-usernames-groupnames-checking.patch deleted file mode 100644 index bb3c027..0000000 --- a/debian/patches/Relax-usernames-groupnames-checking.patch +++ /dev/null @@ -1,124 +0,0 @@ -From: Shadow package maintainers -Date: Sat, 22 Jun 2024 17:39:41 +0200 -Subject: Relax usernames/groupnames checking - -Allows any non-empty user/grounames that don't contain ':', ',' or '\n' -characters and don't start with '-', '+', or '~'. This patch is more -restrictive than original Karl's version. closes: #264879 -Also closes: #377844 - -Comments from Karl Ramm (shadow 1:4.0.3-9, 20 Aug 2003 02:06:50 -0400): - -I can't come up with a good justification as to why characters other -than ':'s and '\0's should be disallowed in group and usernames (other -than '-' as the leading character). Thus, the maintenance tools don't -anymore. closes: #79682, #166798, #171179 - -Status wrt upstream: Debian specific. Not to be used upstream - -Gbp-Topic: debian ---- - lib/chkname.c | 47 +++++++++++++++-------------------------------- - man/groupadd.8.xml | 6 ++++++ - man/useradd.8.xml | 7 ++++++- - 3 files changed, 27 insertions(+), 33 deletions(-) - -diff --git a/lib/chkname.c b/lib/chkname.c -index 995562f..d9678c6 100644 ---- a/lib/chkname.c -+++ b/lib/chkname.c -@@ -54,44 +54,27 @@ static bool is_valid_name (const char *name) - } - - /* -- * User/group names must match BRE regex: -- * [a-zA-Z0-9_.][a-zA-Z0-9_.-]*$\? -- * -- * as a non-POSIX, extension, allow "$" as the last char for -- * sake of Samba 3.x "add machine script" -- * -- * Also do not allow fully numeric names or just "." or "..". -- */ -- int numeric; -- -- if ('\0' == *name || -- ('.' == *name && (('.' == name[1] && '\0' == name[2]) || -- '\0' == name[1])) || -- !((*name >= 'a' && *name <= 'z') || -- (*name >= 'A' && *name <= 'Z') || -- (*name >= '0' && *name <= '9') || -- *name == '_' || -- *name == '.')) { -+ * POSIX indicate that usernames are composed of characters from the -+ * portable filename character set [A-Za-z0-9._-], and that the hyphen -+ * should not be used as the first character of a portable user name. -+ * -+ * Allow more relaxed user/group names in Debian -- ^[^-~+:,\s][^:,\s]*$ -+ */ -+ if ( ('\0' == *name) -+ || ('-' == *name) -+ || ('~' == *name) -+ || ('+' == *name)) { - return false; - } - -- numeric = isdigit(*name); -- -- while ('\0' != *++name) { -- if (!((*name >= 'a' && *name <= 'z') || -- (*name >= 'A' && *name <= 'Z') || -- (*name >= '0' && *name <= '9') || -- *name == '_' || -- *name == '.' || -- *name == '-' || -- (*name == '$' && name[1] == '\0') -- )) { -+ do { -+ if ((':' == *name) || (',' == *name) || isspace(*name)) { - return false; - } -- numeric &= isdigit(*name); -- } -+ name++; -+ } while ('\0' != *name); - -- return !numeric; -+ return true; - } - - -diff --git a/man/groupadd.8.xml b/man/groupadd.8.xml -index 61a548f..d472bd0 100644 ---- a/man/groupadd.8.xml -+++ b/man/groupadd.8.xml -@@ -71,6 +71,12 @@ - Fully numeric groupnames and groupnames . or .. are - also disallowed. - -+ -+ On Debian, the only constraints are that groupnames must neither start -+ with a dash ('-') nor plus ('+') nor tilde ('~') nor contain a -+ colon (':'), a comma (','), or a whitespace (space:' ', -+ end of line: '\n', tabulation: '\t', etc.). -+ - - Groupnames may only be up to &GROUP_NAME_MAX_LENGTH; characters long. - -diff --git a/man/useradd.8.xml b/man/useradd.8.xml -index 17987a6..4fc95d1 100644 ---- a/man/useradd.8.xml -+++ b/man/useradd.8.xml -@@ -733,7 +733,12 @@ - the ls output. - - -- Usernames may only be up to 256 characters long. -+ On Debian, the only constraints are that usernames must neither start -+ with a dash ('-') nor plus ('+') nor tilde ('~') nor contain a -+ colon (':'), a comma (','), or a whitespace (space: ' ', -+ end of line: '\n', tabulation: '\t', etc.). Note that using a slash -+ ('/') may break the default algorithm for the definition of the -+ user's home directory. - - - diff --git a/debian/patches/ccpw-add-selinux-support.patch b/debian/patches/ccpw-add-selinux-support.patch deleted file mode 100644 index d64210f..0000000 --- a/debian/patches/ccpw-add-selinux-support.patch +++ /dev/null @@ -1,65 +0,0 @@ -From: Shadow package maintainers -Date: Sat, 22 Jun 2024 17:39:41 +0200 -Subject: ccpw: add selinux support - -Status wrt upstream: cppw is not available upstream. -Needs to be reviewed by an SE-Linux aware person. - -Gbp-Topic: debian ---- - src/cppw.c | 28 ++++++++++++++++++++++++++++ - 1 file changed, 28 insertions(+) - -diff --git a/src/cppw.c b/src/cppw.c -index beb4c36..2cbbbc0 100644 ---- a/src/cppw.c -+++ b/src/cppw.c -@@ -34,6 +34,9 @@ - #include - #include - #include -+#ifdef WITH_SELINUX -+#include -+#endif /* WITH_SELINUX */ - #include "exitcodes.h" - #include "prototypes.h" - #include "pwio.h" -@@ -139,6 +142,22 @@ static void cppwcopy (const char *file, - if (access (file, F_OK) != 0) { - cppwexit (file, 1, 1); - } -+#ifdef WITH_SELINUX -+ /* if SE Linux is enabled then set the context of all new files -+ * to be the context of the file we are editing */ -+ if (is_selinux_enabled () > 0) { -+ security_context_t passwd_context=NULL; -+ int ret = 0; -+ if (getfilecon (file, &passwd_context) < 0) { -+ cppwexit (_("Couldn't get file context"), errno, 1); -+ } -+ ret = setfscreatecon (passwd_context); -+ freecon (passwd_context); -+ if (0 != ret) { -+ cppwexit (_("setfscreatecon () failed"), errno, 1); -+ } -+ } -+#endif /* WITH_SELINUX */ - if (file_lock () == 0) { - cppwexit (_("Couldn't lock file"), 0, 5); - } -@@ -167,6 +186,15 @@ static void cppwcopy (const char *file, - cppwexit (NULL,0,1); - } - -+#ifdef WITH_SELINUX -+ /* unset the fscreatecon */ -+ if (is_selinux_enabled () > 0) { -+ if (setfscreatecon (NULL)) { -+ cppwexit (_("setfscreatecon() failed"), errno, 1); -+ } -+ } -+#endif /* WITH_SELINUX */ -+ - (*file_unlock) (); - } - diff --git a/debian/patches/cppw-add-selinux-support.patch b/debian/patches/cppw-add-selinux-support.patch new file mode 100644 index 0000000..0e0566d --- /dev/null +++ b/debian/patches/cppw-add-selinux-support.patch @@ -0,0 +1,65 @@ +From: Shadow package maintainers +Date: Sat, 22 Jun 2024 17:39:41 +0200 +Subject: cppw: add selinux support + +Status wrt upstream: cppw is not available upstream. +Needs to be reviewed by an SE-Linux aware person. + +Gbp-Topic: debian +--- + src/cppw.c | 28 ++++++++++++++++++++++++++++ + 1 file changed, 28 insertions(+) + +diff --git a/src/cppw.c b/src/cppw.c +index beb4c36..2cbbbc0 100644 +--- a/src/cppw.c ++++ b/src/cppw.c +@@ -34,6 +34,9 @@ + #include + #include + #include ++#ifdef WITH_SELINUX ++#include ++#endif /* WITH_SELINUX */ + #include "exitcodes.h" + #include "prototypes.h" + #include "pwio.h" +@@ -139,6 +142,22 @@ static void cppwcopy (const char *file, + if (access (file, F_OK) != 0) { + cppwexit (file, 1, 1); + } ++#ifdef WITH_SELINUX ++ /* if SE Linux is enabled then set the context of all new files ++ * to be the context of the file we are editing */ ++ if (is_selinux_enabled () > 0) { ++ security_context_t passwd_context=NULL; ++ int ret = 0; ++ if (getfilecon (file, &passwd_context) < 0) { ++ cppwexit (_("Couldn't get file context"), errno, 1); ++ } ++ ret = setfscreatecon (passwd_context); ++ freecon (passwd_context); ++ if (0 != ret) { ++ cppwexit (_("setfscreatecon () failed"), errno, 1); ++ } ++ } ++#endif /* WITH_SELINUX */ + if (file_lock () == 0) { + cppwexit (_("Couldn't lock file"), 0, 5); + } +@@ -167,6 +186,15 @@ static void cppwcopy (const char *file, + cppwexit (NULL,0,1); + } + ++#ifdef WITH_SELINUX ++ /* unset the fscreatecon */ ++ if (is_selinux_enabled () > 0) { ++ if (setfscreatecon (NULL)) { ++ cppwexit (_("setfscreatecon() failed"), errno, 1); ++ } ++ } ++#endif /* WITH_SELINUX */ ++ + (*file_unlock) (); + } + diff --git a/debian/patches/series b/debian/patches/series index d4bee87..e11ce1a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,9 +1,7 @@ cppw-Add-tool.patch -ccpw-add-selinux-support.patch +cppw-add-selinux-support.patch Let-pam_unix-handle-login-failure-delays.patch Set-group-and-mode-for-g-shadow-files.patch Keep-using-Debian-adduser-defaults.patch Document-the-shadowconfig-utility.patch Recommend-using-adduser-and-deluser.patch -Relax-usernames-groupnames-checking.patch -useradd-accept-the-O-flag-for-backward-compatibility.patch diff --git a/debian/patches/useradd-accept-the-O-flag-for-backward-compatibility.patch b/debian/patches/useradd-accept-the-O-flag-for-backward-compatibility.patch deleted file mode 100644 index 74b41c8..0000000 --- a/debian/patches/useradd-accept-the-O-flag-for-backward-compatibility.patch +++ /dev/null @@ -1,52 +0,0 @@ -From: Shadow package maintainers -Date: Sat, 22 Jun 2024 17:39:41 +0200 -Subject: useradd: accept the -O flag for backward compatibility - -Note: useradd.8 needs to be regenerated. - -Status wrt upstream: not included as this is just specific - backward compatibility for Debian - -Gbp-Topic: debian ---- - man/useradd.8.xml | 5 +++++ - src/useradd.c | 3 ++- - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/man/useradd.8.xml b/man/useradd.8.xml -index 4fc95d1..c513e56 100644 ---- a/man/useradd.8.xml -+++ b/man/useradd.8.xml -@@ -333,6 +333,11 @@ - =100   - UID_MAX=499 - -+ -+ For the compatibility with previous Debian's -+ useradd, the option is -+ also supported. -+ -