Commit Graph

198 Commits

Author SHA256 Message Date
Ana Guerrero
faf7390363 Accepting request 1238984 from Base:System
- bsc#1235453: Set SYS_{UID,GID}_MIN to 201:
  After repeated similar requests to change the ID ranges we set the
  above mentioned value to 201. The max value will stay at 499.
  This range should be sufficient and will give us leeway for the
  future.
  It's not straightforward to find out which static UIDs/GIDs are
  used in all packages.
  Update shadow-login_defs-suse.patch

OBS-URL: https://build.opensuse.org/request/show/1238984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=74
2025-01-21 20:09:56 +00:00
Michael Vetter
e6d68f710a - bsc#1235453: Set SYS_{UID,GID}_MIN to 201:
After repeated similar requests to change the ID ranges we set the
  above mentioned value to 201. The max value will stay at 499.
  This range should be sufficient and will give us leeway for the
  future.
  It's not straightforward to find out which static UIDs/GIDs are
  used in all packages.
  Update shadow-login_defs-suse.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=191
2025-01-20 10:26:02 +00:00
Ana Guerrero
a70f8202f6 Accepting request 1237059 from Base:System
- Update to 4.17.2:
  * src/login_nopam.c: Fix compiler warnings #1170
  * lib/chkname.c: Put limits for LOGIN_NAME_MAX and sysconf(_SC_LOGIN_NAME_MAX) #1169
  * Use HTTPS in link to Wikipedia article on password strength #1164
  * lib/attr.h: use C23 attributes only with gcc >= 10 #1172
  * login: Fix no-pam authorization regression #1174
  * man: Add Portuguese translation #1178
  * Update French translation #1177
  * Add cheap defense mechanisms #1171
  * Add Romanian translation #1176

OBS-URL: https://build.opensuse.org/request/show/1237059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=73
2025-01-14 15:21:06 +00:00
Michael Vetter
b485849e2a - Update to 4.17.2:
* src/login_nopam.c: Fix compiler warnings #1170
  * lib/chkname.c: Put limits for LOGIN_NAME_MAX and sysconf(_SC_LOGIN_NAME_MAX) #1169
  * Use HTTPS in link to Wikipedia article on password strength #1164
  * lib/attr.h: use C23 attributes only with gcc >= 10 #1172
  * login: Fix no-pam authorization regression #1174
  * man: Add Portuguese translation #1178
  * Update French translation #1177
  * Add cheap defense mechanisms #1171
  * Add Romanian translation #1176

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=189
2025-01-11 16:38:29 +00:00
Ana Guerrero
3fe1d7e250 Accepting request 1234180 from Base:System
- Update to 4.17.1:
  * Fix `su -` regression #1163

OBS-URL: https://build.opensuse.org/request/show/1234180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=72
2025-01-02 18:19:11 +00:00
Michael Vetter
6d5f08146e * Fix su - regression #1163
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=187
2024-12-31 19:43:29 +00:00
Michael Vetter
113257727e - Update to 4.17.1:
* su: Fix `su -` regression #1163

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=186
2024-12-31 19:43:06 +00:00
Ana Guerrero
1d046b70cc Accepting request 1233577 from Base:System
- Update to 4.17.0:
  * Fix the lower part of the domain of csrand_uniform()
  * Fix use of volatile pointer
  * Use 'dist-hook' to clean up <tests/unit/Makefile>
  * Use str2[u]l() instead of atoi(3)
  * Use a2i() in various places
  * Fix const correctness
  * Use uid_t for holding UIDs (and GIDs)
  * Move all sprintf(3)-like APIs to a subdirectory
  * Move all copying APIs to a subdirectory
  * Fix forever loop on ENOMEM
  * Fix REALLOC() nmemb calculation
  * Remove id(1)
  * Remove groups(1)
  * Use local time for human-readable dates
  * Use %F instead of %Y-%m-%d with strftime(3)
  * is_valid{user,group}_name(): Set errno to distinguish the reasons
  * Recommend --badname only if it is useful
  * Add fmkomstemp() to fix mode of </etc/default/useradd>
  * Fix use-after-free bug in sgetgrent()
  * Update Catalan translation
  * Remove references to cppw, cpgr
  * groupadd, groupmod: Update gshadow file with -U
  * Added option -a for listing active users only, optimized using if aflg,return
  * Added information in lastlog man page for new option '-a'
  * Plenty of code cleanup and clarifications

- Update to 4.17.0 RC1:
  Pre-release without changelog

OBS-URL: https://build.opensuse.org/request/show/1233577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=71
2024-12-30 11:50:27 +00:00
Michael Vetter
2ad7a94d8c - Update to 4.17.0:
* Fix the lower part of the domain of csrand_uniform()
  * Fix use of volatile pointer
  * Use 'dist-hook' to clean up <tests/unit/Makefile>
  * Use str2[u]l() instead of atoi(3)
  * Use a2i() in various places
  * Fix const correctness
  * Use uid_t for holding UIDs (and GIDs)
  * Move all sprintf(3)-like APIs to a subdirectory
  * Move all copying APIs to a subdirectory
  * Fix forever loop on ENOMEM
  * Fix REALLOC() nmemb calculation
  * Remove id(1)
  * Remove groups(1)
  * Use local time for human-readable dates
  * Use %F instead of %Y-%m-%d with strftime(3)
  * is_valid{user,group}_name(): Set errno to distinguish the reasons
  * Recommend --badname only if it is useful
  * Add fmkomstemp() to fix mode of </etc/default/useradd>
  * Fix use-after-free bug in sgetgrent()
  * Update Catalan translation
  * Remove references to cppw, cpgr
  * groupadd, groupmod: Update gshadow file with -U
  * Added option -a for listing active users only, optimized using if aflg,return
  * Added information in lastlog man page for new option '-a'
  * Plenty of code cleanup and clarifications

- Update to 4.17.0 RC1:
  Pre-release without changelog

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=184
2024-12-27 16:21:20 +00:00
Dominique Leuenberger
1976b7cf41 Accepting request 1193090 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1193090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=70
2024-08-13 11:21:47 +00:00
Michael Vetter
975cbcc7b2 - Disable flushing sssd caches. The sssd's files provider is no
longer available.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=182
2024-08-10 04:34:41 +00:00
Ana Guerrero
e8cce0bcd0 Accepting request 1183021 from Base:System
- bsc#1226850: Drop incorrect econf patch (until time to fix it)
  Drop shadow-4.16.0-econf.patch

OBS-URL: https://build.opensuse.org/request/show/1183021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=69
2024-06-25 21:06:26 +00:00
Michael Vetter
4fa713e7d0 - bsc#1226850: Drop incorrect econf patch (until time to fix it)
Drop shadow-4.16.0-econf.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=180
2024-06-24 13:05:26 +00:00
Ana Guerrero
51afa9a830 Accepting request 1181876 from Base:System
- Update to 4.16.0:
  * The shadow implementations of id(1) and groups(1) are deprecated
    in favor of the GNU coreutils and binutils versions.
    They will be removed in 4.17.0.
  * The rlogind implementation has been removed.
  * The libsubid major version has been bumped, since it now requires
    specification of the module's free() implementation.
- Update shadow-login_defs-suse.patch
- Add shadow-4.16.0-econf.patch:
  Replace deprecated econf_readDirs with econf_readConfig

OBS-URL: https://build.opensuse.org/request/show/1181876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=68
2024-06-21 14:03:18 +00:00
Michael Vetter
7956c76734 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=178 2024-06-20 07:18:43 +00:00
Michael Vetter
1c262ae87f OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=177 2024-06-20 07:12:18 +00:00
Michael Vetter
826df7f957 - Update to 4.16.0:
* The shadow implementations of id(1) and groups(1) are deprecated
    in favor of the GNU coreutils and binutils versions.
    They will be removed in 4.17.0.
  * The rlogind implementation has been removed.
  * The libsubid major version has been bumped, since it now requires
    specification of the module's free() implementation.
- Update shadow-login_defs-suse.patch
- Add shadow-4.16.0-econf.patch:
  Replace deprecated econf_readDirs with econf_readConfig

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=176
2024-06-19 07:13:11 +00:00
Ana Guerrero
467ea622d2 Accepting request 1161093 from Base:System
- Update to 4.15.1:
  * Fix a bug that caused spurious error messages about unknown
    login.defs configuration options #967
  * Adding checks for fd omission #964
  * Use temporary stat buffer #974
  * Fix wrong french translation #975
- Drop shadow-4.15.0-fix-definition.patch

OBS-URL: https://build.opensuse.org/request/show/1161093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=67
2024-03-25 20:06:06 +00:00
Michael Vetter
57303d29a0 - Update to 4.15.1:
* Fix a bug that caused spurious error messages about unknown
    login.defs configuration options #967
  * Adding checks for fd omission #964
  * Use temporary stat buffer #974
  * Fix wrong french translation #975
- Drop shadow-4.15.0-fix-definition.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=174
2024-03-24 09:13:40 +00:00
Ana Guerrero
85fe6a4a20 Accepting request 1159987 from Base:System
- Add shadow-4.15.0-fix-definition.patch:
  Fix error messages about config options.
  See gh/shadow-maint/shadow#967

- Update to 4.15.0
  * libshadow:
    + Use utmpx instead of utmp. This fixes a regression introduced
      in 4.14.0.
    + Fix build error (parameter name omitted).
  * Build system:
    + Link correctly with libdl.
    + Install pam configs for chpasswd(8) and newusers(8) when using
      ./configure --with-libpam --disable-account-tools-setuid.
    + Merge libshadow and libmisc into a single libshadow. This fixes
      problems in the linker, which were reported at least in Gentoo.
    + Fix build with musl libc.
    + Support out of tree builds
  * useradd(8):
    + Set proper SELinux labels for def_usrtemplate
- Update Serge Hallyns GPG key
- Update shadow-login_defs-unused-by-pam.patch

OBS-URL: https://build.opensuse.org/request/show/1159987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=66
2024-03-22 14:15:59 +00:00
Michael Vetter
0f42921987 - Add shadow-4.15.0-fix-definition.patch:
Fix error messages about config options.
  See gh/shadow-maint/shadow#967

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=172
2024-03-21 06:39:57 +00:00
Michael Vetter
413dcfbcf9 - Update to 4.15.0
* libshadow:
    + Use utmpx instead of utmp. This fixes a regression introduced
      in 4.14.0.
    + Fix build error (parameter name omitted).
  * Build system:
    + Link correctly with libdl.
    + Install pam configs for chpasswd(8) and newusers(8) when using
      ./configure --with-libpam --disable-account-tools-setuid.
    + Merge libshadow and libmisc into a single libshadow. This fixes
      problems in the linker, which were reported at least in Gentoo.
    + Fix build with musl libc.
    + Support out of tree builds
  * useradd(8):
    + Set proper SELinux labels for def_usrtemplate
- Update Serge Hallyns GPG key
- Update shadow-login_defs-unused-by-pam.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=171
2024-03-10 07:16:34 +00:00
Ana Guerrero
de9c0c0e13 Accepting request 1154375 from Base:System
- Update to 4.14.6:
  * login(1):
    + Fix off-by-one bugs.
  * passwd(1):
    + Don't silently truncate passwords of length >= 200 characters.
      Instead, accept a length of PASS_MAX, and reject longer ones.
  * libshadow:
    + Fix calculation in strtoday(), which caused a wrong half-day
      offset in some cases (bsc#1176006)
    + Fix parsing of dates in get_date() (bsc#1176006)
    + Use utmpx instead of utmp. This fixes a regression introduced in
      4.14.0.

OBS-URL: https://build.opensuse.org/request/show/1154375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=65
2024-03-04 20:24:37 +00:00
Michael Vetter
a62399592e - Update to 4.14.6:
* login(1):
    + Fix off-by-one bugs.
  * passwd(1):
    + Don't silently truncate passwords of length >= 200 characters.
      Instead, accept a length of PASS_MAX, and reject longer ones.
  * libshadow:
    + Fix calculation in strtoday(), which caused a wrong half-day
      offset in some cases (bsc#1176006)
    + Fix parsing of dates in get_date() (bsc#1176006)
    + Use utmpx instead of utmp. This fixes a regression introduced in
      4.14.0.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=169
2024-03-03 06:16:59 +00:00
Ana Guerrero
8122d2daff Accepting request 1146473 from Base:System
- Update to 4.14.5:
  * Build system:
     + Fix regression introduced in 4.14.4, due to a typo. chgpasswd had
       been deleted from a Makefile variable, but it should have been
       chpasswd.
- Remove shadow-4.14.4-chgpasswd-typo.patch

- Update to 4.14.4:
  * Build system:
    + Link correctly with libdl.
    + Install pam configs for chpasswd(8) and newusers(8) when using
      ./configure --with-libpam --disable-account-tools-setuid.
  * libshadow:
    + Fix build error (parameter name omitted).
    + Fix off-by-one bug.
    + Remove warning.
- Add shadow-4.14.4-chgpasswd-typo.patch: to fix build. See #926
- Update patch macro `patchN` -> `patch -P N`

OBS-URL: https://build.opensuse.org/request/show/1146473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=64
2024-02-16 20:45:28 +00:00
Michael Vetter
504a5a8a2a - Update to 4.14.5:
* Build system:
     + Fix regression introduced in 4.14.4, due to a typo. chgpasswd had
       been deleted from a Makefile variable, but it should have been
       chpasswd.
- Remove shadow-4.14.4-chgpasswd-typo.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=167
2024-02-13 18:46:23 +00:00
Michael Vetter
b61dc19e89 Accepting request 1146447 from home:jubalh:branches:Base:System
- Update to 4.14.4:
  * Build system:
    + Link correctly with libdl.
    + Install pam configs for chpasswd(8) and newusers(8) when using
      ./configure --with-libpam --disable-account-tools-setuid.
  * libshadow:
    + Fix build error (parameter name omitted).
    + Fix off-by-one bug.
    + Remove warning.
- Add shadow-4.14.4-chgpasswd-typo.patch: to fix build. See #926
- Update patch macro `patchN` -> `patch -P N`

OBS-URL: https://build.opensuse.org/request/show/1146447
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=166
2024-02-13 15:32:50 +00:00
Ana Guerrero
0703facd01 Accepting request 1139074 from Base:System
- Update to 4.14.3:
  * libshadow:
    + Avoid null pointer dereference (#904)

OBS-URL: https://build.opensuse.org/request/show/1139074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=63
2024-01-17 21:14:09 +00:00
Michael Vetter
63a97837c7 - Update to 4.14.3:
* libshadow:
    + Avoid null pointer dereference (#904)

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=164
2024-01-16 07:04:58 +00:00
Ana Guerrero
42f26e4728 Accepting request 1137739 from Base:System
- bsc#1199026 bsc#1203823:
  Remove pam_keyinit from PAM configuration.
  This was introduced for bsc#1144060.

OBS-URL: https://build.opensuse.org/request/show/1137739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=62
2024-01-11 20:04:31 +00:00
Michael Vetter
ad60077eda - bsc#1199026 bsc#1203823:
Remove pam_keyinit from PAM configuration.
  This was introduced for bsc#1144060.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=162
2024-01-09 14:17:29 +00:00
Ana Guerrero
ed667551d3 Accepting request 1121084 from Base:System
- Update to 4.14.2:
  * libshadow:
    + Fix build with musl libc.
    + Avoid NULL dereference.
    + Update utmp at an initial login
  * useradd(8):
    + Set proper SELinux labels for def_usrtemplate
  * Manual:
    + Document --prefix in chage(1), chpasswd(8), and passwd(1)
- Drop upstreamed shadow-4.14.0-selinux-labels.patch

OBS-URL: https://build.opensuse.org/request/show/1121084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=61
2023-10-31 19:24:26 +00:00
Michael Vetter
f19bcfd712 - Update to 4.14.2:
* libshadow:
    + Fix build with musl libc.
    + Avoid NULL dereference.
    + Update utmp at an initial login
  * useradd(8):
    + Set proper SELinux labels for def_usrtemplate
  * Manual:
    + Document --prefix in chage(1), chpasswd(8), and passwd(1)
- Drop upstreamed shadow-4.14.0-selinux-labels.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=160
2023-10-30 07:27:10 +00:00
Ana Guerrero
8cdab85ffc Accepting request 1115994 from Base:System
- Update to 4.14.1:
  Build system: Merge libshadow and libmisc into a single libshadow.
  This fixes problems in the linker, which were reported at least
  in Gentoo. #791
- Add Alejandro Colomar (new stable branch maintainer) to shadow.keyring

OBS-URL: https://build.opensuse.org/request/show/1115994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=60
2023-10-06 19:11:40 +00:00
Michael Vetter
c317274c66 - Update to 4.14.1:
Build system: Merge libshadow and libmisc into a single libshadow.
  This fixes problems in the linker, which were reported at least
  in Gentoo. #791
- Add Alejandro Colomar (new stable branch maintainer) to shadow.keyring

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=158
2023-10-06 08:44:42 +00:00
Ana Guerrero
d61b4112dd Accepting request 1114284 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1114284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=59
2023-10-02 18:04:17 +00:00
Michael Vetter
8a856d91ac Accepting request 1114040 from home:jsegitz:branches:Base:System
- Add shadow-4.14.0-selinux-labels.patch:
  Set proper SELinux labels for new homedirs.
  See gh/shadow-maint/shadow#812.

OBS-URL: https://build.opensuse.org/request/show/1114040
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=156
2023-09-29 08:42:12 +00:00
Ana Guerrero
89460a18ea Accepting request 1104351 from Base:System
- Remove dependency on libbsd:
  On Tumbleweed we have glibc 2.38 already thus string functions
  like strlcpy will be present and won't be needed from libbsd.
  `readpassphrase()` is then the only function from libbsd not present.
  Upstream shadow has an in tree copy of it, that is used when the
  `--without-libbsd` flag is passed along.
  By relying on glibc 2.38 we don't need to add libbsd and libmd
  to our ring0 but can't easily upgrade on SLE.

- Update to 4.14.0:
  * configure: add with-libbsd option
  * Code cleanup
  * Replace utmp interface #757 
  * new option enable-logind #674
  * shadow userdel: add the adaptation to the busybox ps in 01-kill_user_procs.sh
  * chsh: warn if root sets a shell not listed in /etc/shells #535
  * newgrp: fix potential string injection
  * lastlog: fix alignment of Latest header
  * Fix yescrypt support #748
  * chgpasswd: Fix segfault in command-line options
  * gpasswd: Fix password leak
  * Add --prefix to passwd, chpasswd and chage #714 (bsc#1206627)
  * usermod: fix off-by-one issues #701
  * ch(g)passwd: Check selinux permissions upon startup #675
  * sub_[ug]id_{add,remove}: fix return values
  * chsh: Verify that login shell path is absolute #730
  * process_prefix_flag: Drop privileges
  * run_parts for groupadd and groupdel #706
  * newgrp/useradd: always set SIGCHLD to default
  * useradd/usermod: add --selinux-range argument #698

OBS-URL: https://build.opensuse.org/request/show/1104351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=58
2023-08-18 17:26:58 +00:00
Michael Vetter
89d6ca85a0 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=154 2023-08-17 10:24:51 +00:00
Michael Vetter
2745f98eaf - Remove dependency on libbsd:
On Tumbleweed we have glibc 2.38 already thus string functions
  like strlcpy will be present and won't be needed from libbsd.
  `readpassphrase()` is then the only function from libbsd not present.
  Upstream shadow has an in tree copy of it, that is used when the
  `--without-libbsd` flag is passed along.
  By relying on glibc 2.38 we don't need to add libbsd and libmd
  to our ring0 but can't easily upgrade on SLE.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=153
2023-08-17 10:17:53 +00:00
Michael Vetter
1108d9a8b3 - This release depends either on libbsd or on glibc >= 2.38
which only recently got released. libbsd (and libmd) would be
  new packages in our ring0

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=152
2023-08-17 07:07:20 +00:00
Michael Vetter
87279e85bb * configure: add with-libbsd option
* Code cleanup
  * Replace utmp interface #757 
  * new option enable-logind #674
  * shadow userdel: add the adaptation to the busybox ps in 01-kill_user_procs.sh
  * chsh: warn if root sets a shell not listed in /etc/shells #535
  * newgrp: fix potential string injection
  * lastlog: fix alignment of Latest header
  * Fix yescrypt support #748
  * chgpasswd: Fix segfault in command-line options
  * gpasswd: Fix password leak
  * Add --prefix to passwd, chpasswd and chage #714 (bsc#1206627)
  * usermod: fix off-by-one issues #701
  * ch(g)passwd: Check selinux permissions upon startup #675
  * sub_[ug]id_{add,remove}: fix return values
  * chsh: Verify that login shell path is absolute #730
  * process_prefix_flag: Drop privileges
  * run_parts for groupadd and groupdel #706
  * newgrp/useradd: always set SIGCHLD to default
  * useradd/usermod: add --selinux-range argument #698
  * sssd: skip flushing if executable does not exist #699
  * semanage: Do not set default SELinux range #676
  * Add control character check #687
  * usermod: respect --prefix for --gid option
  * Fix null dereference in basename
  * newuidmap and newgidmap: support passing pid as fd
  * Prevent out of boundary access #633
  * Explicitly override only newlines #633
  * Correctly handle illegal system file in tz #633
  * Supporting vendor given -shells- configuration file #599

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=151
2023-08-17 07:04:09 +00:00
Michael Vetter
d8c5f764fa - Dont build lastlog (lastlog.legacy) anymore since we
use lastlog2 by default now.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=150
2023-08-14 13:58:58 +00:00
Michael Vetter
51ee267bd3 - Update to 4.14.0:
- Refresh useradd-default.patch
- Remove upstreamed patches:
  * useradd-userkeleton.patch
  * shadow-audit-no-id.patch
  * shadow-fix-print-login-timeout.patch
  * shadow-CVE-2023-29383.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=149
2023-08-04 15:48:26 +00:00
Dominique Leuenberger
3d8b1375a7 Accepting request 1080172 from Base:System
- bsc#1210507 (CVE-2023-29383):
  Check for control characters
- Add shadow-CVE-2023-29383.patch

OBS-URL: https://build.opensuse.org/request/show/1080172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=57
2023-04-21 12:15:33 +00:00
Michael Vetter
de2ffbd8a7 - bsc#1210507 (CVE-2023-29383):
Check for control characters
- Add shadow-CVE-2023-29383.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=147
2023-04-18 16:15:03 +00:00
Dominique Leuenberger
60f84ce541 Accepting request 1079091 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1079091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=56
2023-04-16 14:06:38 +00:00
Michael Vetter
c13dad9ccc Accepting request 1078648 from home:kukuk:branches:Base:System
- Rename lastlog to lastlog.legacy to be able to switch to
  Y2038 safe lastlog2 as default [jsc#PED-3144]

OBS-URL: https://build.opensuse.org/request/show/1078648
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=145
2023-04-13 09:15:30 +00:00
Dominique Leuenberger
2fe7ade94a Accepting request 1066319 from Base:System
- Update shadow-fix-print-login-timeout.patch
- Reorder source files and patches

- Remove scripts that claim to be config but are in /usr (boo#1191578)
  * userdel-script.patch
  * useradd-script.patch
  * useradd.local
  * userdel-post.local
  * userdel-pre.local

OBS-URL: https://build.opensuse.org/request/show/1066319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=55
2023-02-19 17:18:38 +00:00
Michael Vetter
cdd1d85c79 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=143 2023-02-17 07:53:56 +00:00