Files
bpfire/config/rootfiles/common
Adolf Belka 5b28df47a5 shadow: Update to version 4.11.1 and fix bug 12762
- Update from 4.2.1 (2015) to 4.11.1 (2021)
- Update rootfile
- Update patch for suppression of groups installation
- Change default hash from sha512 to yescrypt in lfs and logins.def
- Changelog
   * Release 4.11.1
     * build: include lib/shadowlog_internal.h in dist tarballs (Sam James)
   * Release 4.11
     * Handle possible TOCTTOU issues in usermod/userdel (edneville)
       * (CVE-2013-4235)
       * Use O_NOFOLLOW when copying file
       * Kill all user tasks in userdel
     * Fix useradd -D segfault (Xi Ruoyao)
     * Clean up obsolete libc feature-check ifdefs (Alejandro Colomar)
     * Fix -fno-common build breaks due to duplicate Prog declarations
       (Adam Sampson)
     * Have single date_to_str definition (Alejandro Colomar)
     * Fix libsubid SONAME version (Sam James)
     * Clarify licensing info, use SPDX.
   * Release 4.10
      Note: From this release forward, su from this package should be
             considered deprecated. Please replace any users of it with su from
             util-linux. Please open an issue if there is a problem with that.
            We intend to remove it in an upcoming release.
            This release features many fixes expecially to the building of
             libsubid, some SELinux labeling issues, and a few signaling
             issues.
     * libsubid fixes (Xi Ruoyao, Serge Hallyn, Iker Pedrosa, Mike Gilbert,
       GalaxyMaster, and Luís Ferreira)
     * Rename the test program list_subid_ranges to getsubids, write
       a manpage, so distros can ship it. (Iker Pedrosa)
     * Add libeconf dep for new*idmap (Iker Pedrosa)
     * Allow all group types with usermod -G (Iker Pedrosa)
     * Avoid useradd generating empty subid range (Iker Pedrosa)
     * Handle NULL pw_passwd (Jaroslav Jindrak)
     * Fix default value SHA_get_salt_rounds (Mike Gilbert)
     * Use https where possible in README (Paul Menzel)
     * Update content and format of README (Iker Pedrosa)
     * Translation updates (Balint Reczey, Frans Spiesschaert)
     * Switch from xml2po to itstool in 'make dist' (Serge Hallyn)
     * Fix double frees (Michael Vetter)
     * Add LOG_INIT configurable to useradd (Andy Zaugg)
     * Add CREATE_MAIL_SPOOL documentation (Andy Zaugg)
     * Create a security.md
     * Fix su never being SIGKILLd when trapping TERM (Ruihan li)
     * Fix wrong SELinux labels in several possible cases (Iker Pedrosa)
     * Fix missing chmod in chadowtb_move (GalaxyMaster)
     * Handle malformed hushlogins entries (Tobias Stoeckmann)
     * Fix groupdel segv when passwd does not exist (François Rigault)
     * Fix covscan-found newgrp segfault (Iker Pedrosa)
     * Remove trailing slash on hoedir (Ed Neville)
     * Fix passwd -l message - it does not change expirey (Ed Neville)
     * Fix SIGCHLD handling bugs in su and vipw (Tobias Stoeckmann)
     * Remove special case for "" in usermod (Alejandro Colomar)
     * Implement usermod -rG to remove a specific group
       (Andy Zaugg)
     * call pam_end() after fork in child path for su and login
       (Björn Fischer)
     * useradd: In absence of /etc/passwd, assume 0 == root
       (Ludwig Nussel)
     * lib: check NULL before freeing data (Iker Pedrosa)
     * Fix pwck segfault (Iker Pedrosa)
     * Release 4.9
        2021-07-22  Serge Hallyn <serge@hallyn.com>
	 * Updated translations (Björn Esser, Juergen Hoetzel)
     * Major salt updates (Björn Esser)
     * Various coverity and cleanup fixes (Iker Pedrosa)
     * Consistently use 0 to disable PASS_MIN_DAYS  in man (tzccinct)
     * Implement NSS support for subids and a libsubid (Serge Hallyn)
     * setfcap: retain setfcap when mapping uid 0 (Christian Brauner)
     * login.defs: include HMAC_CRYPTO_ALGO key (Iker Pedrosa)
     * selinux fixes (Christian Göttsche)
     * Fix path prefix path handling (Lucas Servén Marín)
     * Manpage updates (tzccinct, Sevan Janiyan, Iker Pedrosa, Geert Ijewski,
		谭九鼎, Jamin W. Collins, towerpark, andydna, Frans Spiesschaert)
     * Treat an empty passwd field as invalid (Haelwenn Monnier)
     * newxidmap: allow running under alternative gid (Martijn de Gouw)
     * usermod: check that  shell is executable (Geert Ijewski)
     * Add yescript support (Rodolphe Bréard)
     * useradd memleak fixes (whzhe)
     * useradd: use built-in settings by default (Ludwig Nussel)
     * getdefs: add foreign (non-shadow-utils) items (Karel Zak)
     * buffer overflow fixes (Tobias Stoeckmann)
     * Adding run-parts style for pre and post useradd/del (ed@s5h.net)
       2020-01-23  Serge Hallyn <serge@hallyn.com>
	* selinux: inclue stdio (Michael Vetter)
	* man: don't suggest making groupmems user-writeable (Michael Weiser)
	* Makefile: bail out on error in for loops (Wolfgang Bumiller)
	* Adding logging of SSH_ORIGINAL_COMMAND to nologin. (ed@s5h.net)
	* add new HOME_MODE login.defs option (Duncan Overbruck)
	* Add tty logging to useradd (ed@s5h.net)
	* Useradd: make non-executable shell check only a warning (Tomas Mraz)
	* Update Dutch translation (Frans-Spiesschaert)
	* user_busy: Do not mistake a regular user process for a namespaced one (Tomas Mraz)
	* Revert "Honor --sbindir and --bindir for binary installation" Patrick McLean)
       2019-12-20  Dave Reisner <dreisner@archlinux.org>
	* Do not auto-enable acct_tools_setuid just because
	  pam is enabled.  NOTE - any distros which are relying
	  on this behavior will need to switch to configure
	  --enable-account-tools-setuid
   * Release 4.8
       2019-12-01  Serge Hallyn <serge@hallyn.com>
	* Initial optional bcrypt support.
	* Make build/install of 'su' optional.
	* Fix for vipw not resuming correctly when suspended
	* Sync password field descriptions in manpages
	* Check for valid shell argument in useradd
	* Allow translation of new strings through POTFILES.in
	* Migrate to itstool for translations
	* Migrate to new SELinux api
	* Support --enable-vendordir
	* pwck: Only check homedir if set and not a system user
	* Support nonstandard usernames
	* sget{pw,gr}ent: check for data at EOL
	* Add YYY-MM-DD support in chage
	* Fix failing chmod calls for suidubins
	* Fix --sbindir and --bindir for binary installations
	* Fix LASTLOG_UID_MAX in login.defs
	* Fix configure error with dash
    * Release 4.7
       2019-06-13  Serge Hallyn <serge@hallyn.com>
	* Spawn: don't loop forever on ECHILD
	* Do not fail locking if there is a stale lockfile Tomas Mraz)
	* Use lckpwdf if prefix not set (Tomas Mraz)
	* Build: check correct DocBook version (Jan Tojnar)
	* Usermod: Print 'no changes' to stdout, not stderr (Serge Hallyn)
	* Add support for btrfs subvolumes for home (Adam Majer)
	* Fix chpasswd long line handling (Nathan Ruiz)
	* Use secure_getenv for gettime (Chris Lamb)
	* Make sp_lstchg reproducible (Chris Lamb)
	* Do not crash commonio_close if db file is not open (Tomas Mraz)
	* Don't flush nscd and sssd cache in read-only mode (Charlie Vuillemez)
	* French manpage update (Alban VIDAL)
	* Fix manpage defaults for SUB_UID/GID_COUNT (Tomas Mraz)
	* Sync po files from shadow.pot (Alban VIDAL)
	* Usermod: guard against unsafe chown of homedir contents (Tomas Mraz)
	* Add LASTLOG_UID_MAX to login.defs (Tomas Mraz)
	* new[ug]idmap file capabilities support (Giuseppe Scrivano and Christian Brauner)
	* Fix segfault in useradd (Tomas Mraz)
	* Coverity issues (Tomas Mraz)
	* Flush sssd caches (Jakub Hrozek)
	* Log UID in nologin (Vladimir Ivanov)
	* run pam_getenvlist after setup_env in su.c (Michael Vogt)
	* Support systems with only utmpx (A. Wilcox)
	* Fix unguarded ENABLE_SUBIDS code (Jan Chren (rindeal))
	* Update po/zh_CN translation (Lion Yang)
	* Create parent dirs for useradd -m (Michael Vetter)
	* Prevent usermod segv
	* Fix usermod crash (fariouche)
    * Release 4.6
       2018-04-29  Serge Hallyn <serge@hallyn.com>
	* Newgrp: avoid unnecessary lookups
	* Make language less binary
	* Add error when turning off man switch
	* Spelling fixes
	* Make userdel work with -R
	* newgidmap: enforce setgroups=deny if self-mapping a group
	* Norwegian bokmål translation
	* pwck: prevent crash by not passing O_CREAT
	* WITH_TCB fixes from Mandriva
	* Fix pwconv and grpconv entry skips
	* Fix -- slurping in su
	* add --prefix option
       2017-07-16  Serge Hallyn <serge@hallyn.com>
	* Import new Dutch translations.
       2017-07-10  Serge Hallyn <serge@hallyn.com>
	* Expand error codes for groupmod.
       2017-05-17  Serge Hallyn <serge@hallyn.com>
    * Release 4.5
       2017-05-17  Serge Hallyn <serge@hallyn.com>
	* Patch from Tobias Stoeckmann fixing regression in previous CVE fix
	  preventing SIGTERM to su from being propagated to the job.
	* Patch from Chris Lamb making sp_lstchg shadow field reproducible.
	* Merge Russian translation updates from Yuri Kozlov
	* Fix missing close of subuid file on error
       2017-02-23  Serge Hallyn <serge@hallyn.com>
	* Merge patch by Tobias Stoeckmann <tobias@stoeckmann.org> to fix
	  the equivalent of util-linux CVE-2017-2616.
       2017-02-08  Serge Hallyn <serge@hallyn.com>
	* Update Kazakh translations
	* Consult configuration before calculating subuids
	* Remove misplaced semicolon
       2017-01-29  Serge Hallyn <serge@hallyn.com>
	* Patch from Fedora to improve performance with SSSD, Winbind,
	  or nss_ldap. (Tomas Mraz)
	* Make sure knowndef_table is NULL-terminated.  (Bernhard Rosenkränzer)
       2016-12-21  Serge Hallyn <serge@hallyn.com>
	* Drop leading underscore from _COMMONIO_H and _SHADOWIO_H
	* Fix readability in usermod error messages.
	* Reset user in tallylog
	* Add audit support to su
    * Changes since 4.4
       2016-12-02  Serge Hallyn <serge@hallyn.com>
	  - Use sizeof rather than hardcoding snprintf args
	  - Fix useradd improper default loading
	  - Update Vietnamese translations
	  - Update Polish translations
	  - Remove non-POSIX chmod option in Makefile
	  - Fix suidubins assignments
	  - Fix --add-subuids etc spelling in manpages
	  - Audit homedir ownership change.
	  - Print error on selinux file context update failure
	  - Keep original file perms when creating a backup
    * Changes since 4.2.1:
       2016-12-02  Serge Hallyn <serge@hallyn.com>
	  - Documentation, error report and translations updates
	  - Replace path_max with 32
	  - User namespace support fixes/updates including:
	    - Correct sanity checks in newXidmap
	    - Fix building without subuid support
	    - Add /etc/subuid support for UID matching
	    - Support subuid for nonlocal users
	    - Default to 65536 subuid allocations
	    - Respect -r
	    - Check for range overflows
	  - Add tests from svn tree
	  - Use AC_CHECK_SIZEOF for uid_t size checks
	  - Accomodate missing /etc and login.defs
	  - Support FORCE_SHADOW
	  - Be more robust in hostile environment
	  - Allow removing a primary group
	  - Clear passwords on __pw_dup errors
	  - Memory leak fix in commonio_update and get_map_ranges
	  - Fix resource leak in syslog_sg
	  - Fix user busy error at userdel
	  - Support set/clear lastlog record via lastlog command
	  - Add --no-create-home as longopt for -M
	  - Fix signal races
	  - Reduce syslog priority of common usage events

Fixes: Bug 12762
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-18 21:23:42 +00:00
..
2021-12-09 21:04:50 +01:00
2022-01-14 19:15:45 +00:00
2021-12-09 21:04:50 +01:00
2021-03-18 11:19:43 +00:00
2018-04-14 18:42:00 +02:00
2021-12-28 23:01:48 +01:00
2020-03-21 16:14:08 +00:00
2018-04-11 20:03:53 +01:00
2015-12-13 22:28:15 +00:00
2021-03-18 11:20:32 +00:00
2021-02-12 11:54:42 +00:00
2020-05-01 19:08:38 +00:00
2021-04-10 13:37:50 +00:00
2017-06-07 09:55:27 +01:00
2020-05-09 12:03:23 +00:00
2021-11-24 09:29:56 +00:00
2021-11-24 09:09:47 +00:00
2017-09-22 18:56:04 +01:00
2013-08-28 11:18:37 +02:00
2021-03-29 12:53:09 +00:00
2020-03-21 15:44:08 +00:00
2018-07-14 13:43:49 +01:00
2021-05-06 09:54:21 +00:00
2019-05-27 14:39:32 +01:00
2021-04-20 09:04:34 +00:00
2021-11-19 07:03:31 +01:00
2019-12-02 17:10:15 +00:00
2021-12-03 18:22:28 +01:00
2020-02-17 08:50:46 +00:00
2018-06-25 10:54:36 +01:00
2020-04-12 08:16:28 +02:00
2017-04-17 12:36:49 +01:00
2021-04-20 09:07:51 +00:00
2021-10-22 09:59:20 +00:00
2021-09-05 17:48:28 +00:00
2021-03-29 12:54:50 +00:00
2020-02-18 06:01:44 +00:00
2021-05-20 09:47:41 +00:00
2022-01-14 13:40:15 +00:00
2021-02-03 22:23:13 +00:00
2020-11-05 23:29:18 +00:00
2021-12-09 21:04:50 +01:00
2021-05-18 13:52:11 +00:00
2015-05-03 21:51:04 +02:00
2017-06-07 09:55:16 +01:00
2020-09-24 17:36:37 +00:00
2013-04-12 12:43:27 +02:00
2022-01-14 13:40:48 +00:00
2021-12-09 21:08:10 +01:00
2021-06-17 20:02:19 +00:00
2021-11-19 07:16:02 +01:00
2021-10-22 16:02:22 +00:00
2022-01-04 18:15:33 +01:00
2022-01-14 13:46:00 +00:00
2021-04-07 13:12:27 +00:00
2021-12-03 22:26:29 +01:00
2021-04-07 13:13:18 +00:00
2016-08-23 13:04:47 -04:00
2021-06-04 10:46:43 +00:00
2013-07-03 21:38:17 +02:00
2012-08-20 11:39:23 +02:00
2019-03-13 15:04:40 +01:00
2020-04-30 14:52:53 +00:00
2021-12-09 21:08:06 +01:00
2018-02-11 20:56:12 +00:00
2018-07-12 10:03:34 +01:00
2018-02-16 20:01:55 +00:00
2021-12-03 18:17:52 +01:00
2021-01-29 11:14:22 +00:00
2021-01-25 21:23:49 +00:00
2021-05-25 09:49:21 +00:00
2021-11-24 09:05:10 +00:00
2013-10-15 16:46:15 +02:00
2018-10-26 11:23:55 +00:00
2020-08-16 10:29:42 +00:00
2018-10-22 19:51:19 +01:00
2022-01-14 13:35:13 +00:00
2021-11-19 07:07:18 +01:00
2021-02-09 11:38:48 +00:00
2012-08-24 16:22:24 +02:00
2018-10-21 22:17:54 +01:00
2021-12-03 22:34:06 +01:00
2014-12-07 15:23:57 +01:00
2021-12-03 18:28:26 +01:00
2021-04-26 17:08:53 +00:00
2018-11-19 18:58:48 +00:00
2021-04-26 17:10:13 +00:00
2021-11-19 07:16:19 +01:00
2021-12-03 22:32:59 +01:00
2019-12-29 19:09:27 +00:00
2021-09-05 08:55:40 +00:00
2021-04-27 07:58:56 +00:00
2021-12-14 10:45:43 +01:00
2016-09-24 13:07:13 +01:00
2021-04-07 13:14:11 +00:00
2015-12-11 18:47:20 +00:00
2015-06-23 13:37:57 +02:00
2013-08-27 20:20:47 +02:00
2021-06-04 10:48:35 +00:00
2021-06-12 09:32:19 +00:00
2020-04-26 07:29:59 +00:00
2014-08-20 21:45:12 +02:00
2021-09-10 16:57:06 +00:00
2021-12-03 22:30:24 +01:00
2015-02-01 17:39:33 +01:00
2022-01-14 20:45:24 +00:00
2015-06-18 13:23:55 +02:00
2021-02-22 11:28:11 +00:00
2022-01-14 13:44:08 +00:00
2022-01-14 13:43:33 +00:00
2021-09-17 09:01:16 +00:00
2017-04-28 13:04:19 +01:00
2021-04-26 10:23:55 +00:00
2020-01-16 18:22:51 +00:00
2021-02-09 11:51:38 +00:00
2021-02-05 11:24:35 +00:00
2021-02-09 12:00:04 +00:00
2021-12-03 22:51:39 +01:00
2020-01-04 18:23:52 +00:00
2021-12-03 22:26:23 +01:00
2021-01-27 21:06:57 +00:00
2013-10-24 15:20:48 +02:00
2020-08-16 10:29:43 +00:00
2012-08-07 20:21:06 +02:00
2021-12-03 22:24:16 +01:00
2022-01-15 11:28:04 +00:00
2021-02-08 13:51:04 +00:00
2021-06-10 12:22:59 +00:00
2020-12-27 10:29:55 +00:00
2018-06-30 19:51:38 +01:00
2018-10-22 14:58:29 +01:00
2016-01-10 21:18:20 +00:00
2020-09-24 17:36:37 +00:00
2020-05-09 12:03:02 +00:00
2021-12-05 11:39:47 +01:00
2021-11-19 07:11:50 +01:00
2018-04-02 15:46:40 +01:00
2021-12-03 18:25:39 +01:00
2021-12-09 21:08:00 +01:00
2021-03-22 10:42:07 +00:00
2014-07-23 22:57:47 +02:00
2018-08-16 18:55:13 +01:00
2021-08-16 06:52:19 +00:00
2022-01-14 13:38:23 +00:00
2021-04-02 15:38:46 +00:00
2021-05-05 11:26:56 +00:00
2021-10-22 16:02:56 +00:00
2021-04-20 09:09:59 +00:00
2021-12-03 22:47:12 +01:00
2021-04-10 13:39:32 +00:00
2020-08-17 17:55:35 +00:00
2021-10-22 10:54:07 +00:00
2020-12-27 10:55:03 +00:00
2022-01-14 19:15:45 +00:00
2021-05-14 13:22:09 +00:00
2021-12-03 22:47:55 +01:00
2019-05-27 14:40:03 +01:00
2021-04-10 13:37:23 +00:00
2017-05-19 17:44:13 +01:00
2019-12-29 19:14:30 +00:00
2014-01-29 17:22:48 +01:00
2020-08-16 10:29:42 +00:00
2021-02-01 10:45:45 +00:00
2016-04-27 12:56:23 +01:00
2012-08-12 16:39:18 -04:00
2018-07-12 10:03:34 +01:00
2021-11-24 09:37:51 +00:00
2020-03-29 06:34:18 +00:00
2021-03-10 13:59:29 +00:00
2022-01-14 20:25:49 +00:00
2021-10-13 12:13:04 +00:00
2021-01-06 15:21:42 +00:00
2020-04-01 14:40:39 +00:00
2021-12-03 22:36:43 +01:00
2022-01-14 19:15:45 +00:00
2021-03-22 10:40:15 +00:00
2021-09-05 08:42:10 +00:00
2017-01-29 19:30:13 +00:00
2021-09-02 09:28:30 +00:00
2021-03-11 14:57:21 +00:00
2014-11-22 23:43:46 +01:00
2022-01-15 11:28:04 +00:00
2021-09-02 09:18:54 +00:00
2020-11-05 23:30:38 +00:00
2022-01-16 15:17:50 +00:00
2021-12-13 12:53:04 +01:00
2021-12-03 22:51:00 +01:00
2017-04-06 10:06:08 +01:00
2021-12-03 22:52:27 +01:00
2022-01-14 14:41:58 +00:00
2020-04-30 14:56:49 +00:00
2013-12-26 14:03:31 +01:00
2016-07-16 10:53:53 +01:00
2021-04-26 17:04:00 +00:00
2021-04-26 10:07:56 +00:00
2021-05-31 12:38:04 +00:00
2021-11-05 17:18:10 +01:00
2020-03-23 18:38:17 +00:00
2020-10-15 15:33:44 +00:00
2017-01-24 14:29:28 +00:00
2022-01-14 13:41:25 +00:00