Commit graph

392 commits

Author SHA1 Message Date
Iker Pedrosa
103ee1cc47 Rebase to version 4.20.0
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-07-29 15:27:11 +02:00
Iker Pedrosa
c8aec6bdba Tests: update dependencies
System test framework requires gcc, python3-devel and libssh-devel
installed before pip tries to compile ansible-pylibssh.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-07-23 12:38:33 +02:00
Iker Pedrosa
8cb145bd73 Rebase to v4.20.0-rc3
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-07-23 12:38:31 +02:00
Fedora Release Engineering
8bd71d9f91 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 06:27:57 +00:00
Iker Pedrosa
871df3223d Enable use of PAM for chpasswd and newusers
Resolves: #2461179 and #2283963
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-05-27 11:40:27 +02:00
Iker Pedrosa
4a56d06039 Tests: run system tests
Tests comprehensive functionality from shadow using the upstream system
test suite in testing farm.

- Add plans/system-tests.fmf: run upstream shadow system tests via
  pytest-mh.
- Add tests/mhc-fedora-ci.yaml: topology configuration to connect to the
  test system.
- Add .fmf/version: enable testing farm integration.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-04-29 10:39:59 +02:00
Iker Pedrosa
0fba1e26ce btrfs: simplify checks improve useradd behavior for non-btrfs
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-04-23 15:20:03 +02:00
77fbaa4e9a Rebase to version 4.19.3
Resolves: #2426288

https://src.fedoraproject.org/rpms/shadow-utils/pull-request/27
2026-02-13 14:20:25 +01:00
a856759119 Silence mixed-use-of-spaces-and-tabs
There's no need to do a build just for this.

Fallout from 4642a65eb4 and
fe4f9dc5c0

https://src.fedoraproject.org/rpms/shadow-utils/pull-request/25
2026-01-29 14:42:25 +01:00
cf630b1c3c Remove unused patches
There's no need to do a build just for this.

Fallout from 799aaaa508

https://src.fedoraproject.org/rpms/shadow-utils/pull-request/25
2026-01-29 14:42:25 +01:00
Adam Williamson
dac50e34f8 chkhash.c: fix escaping in SHA-256 / SHA-512 / MD5 regexes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-28 11:21:11 -08:00
Iker Pedrosa
be2ac19347 - chkhash.c: fix support for ! and * in hashes
- usermod.c: add back optimizations

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-01-26 10:03:59 +01:00
Fedora Release Engineering
c78272db1a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 17:57:49 +00:00
Iker Pedrosa
f47e36e72a useradd: Support config for creating home dirs as Btrfs subvolumes
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-01-12 11:43:48 +01:00
Iker Pedrosa
19e27b9aa5 Enable unit-tests
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-01-12 11:43:48 +01:00
Iker Pedrosa
43599b7b5e Rebase to version 4.19.0
Resolves: #2426288 and #2249524
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2026-01-12 11:43:44 +01:00
Adam Williamson
d39147a222 Really bump release, d'oh 2025-11-25 13:25:22 -08:00
Adam Williamson
8953fddc44 Also revert changes from -4 (last known good was -3) 2025-11-25 12:50:30 -08:00
Adam Williamson
71c7bce53c Revert changes from -5 (they were only meant for testing) 2025-11-25 10:08:41 -08:00
Iker Pedrosa
20b5296027 Test CI
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-11-25 10:30:54 +01:00
Iker Pedrosa
5d57398d35 Stop setting SELinux labels in chroot and prefix environments
Resolves: #2249524
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-10-31 12:52:35 +01:00
Iker Pedrosa
9fbb086db0 tests/: remove them
These tests need to be migrated to TMT to continue running, but nobody
is maintaining them so we've decided to remove them.

Closes: 2383071
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-08-18 11:48:31 +02:00
Alexey Tikhonov
b75f74d3f1 Revert "Stop assigning subids by default"
This reverts commit e1cfa31731
while CVE-2024-56433 is being disputed.

Resolves: #2382662
2025-07-29 20:28:37 +02:00
Fedora Release Engineering
654ff210da Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:12:54 +00:00
Iker Pedrosa
1f100b614d Rebase to version 4.18.0
Resolves: #2374710

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-07-22 11:34:17 +02:00
Iker Pedrosa
e1cfa31731 Stop assigning subids by default
Resolves: CVE-2024-56433 and #2334168

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-07-18 17:33:47 +02:00
Iker Pedrosa
39c75f8e58 Rebuild for new side-tag for lastlog2 migration
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-07-15 12:28:52 +02:00
Iker Pedrosa
92eaac9b2c FSWC: Migrate to lastlog2
Link: <https://fedoraproject.org/wiki/Changes/Migrate_to_lastlog2>
Resolves: #2361588
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-04-22 11:31:29 +02:00
Iker Pedrosa
a7f68f9158 Add pam dependency for _pam_confdir missing macro
Resolves: #2354806

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-03-25 16:54:24 +01:00
Iker Pedrosa
889277e842 Rebase to version 4.17.4
Resolves: #2353491

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2025-03-20 11:57:09 +01:00
Björn Esser
f872b43d35
Add explicit BR: libxcrypt-devel
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-02-01 19:57:31 +01:00
Fedora Release Engineering
7b5d11c4b7 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 10:32:26 +00:00
edb8f1a314 Rebuilt for the bin-sbin merge (2nd attempt)
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
2025-01-12 14:41:48 +01:00
Iker Pedrosa
35488fe254 Rebase to version 4.17.0
Resolves: #2293678

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-12-26 09:51:56 +01:00
Björn Esser
be06553cde
Remove potentially dangerous {C,LD}FLAGS shenanigans
Also fail linking if there are undefined symbols at link-time.

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2024-12-23 12:38:09 +01:00
Iker Pedrosa
796cd4dc3b Rebase to version 4.17.0-rc1
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-12-09 14:36:59 +01:00
Iker Pedrosa
e7d5253e95 SPDX license migration for subpackages
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-11-12 09:34:52 +01:00
Iker Pedrosa
4eba5ba13e Rebuilt for libeconf soname bump
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-10-16 12:04:44 +02:00
Iker Pedrosa
cbfed0db1e useradd: fix write_full() return value
Resolves: #2313559

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-10-07 10:00:36 +02:00
Iker Pedrosa
cb321b1db1 useradd: fix write_full() return value
Resolves: #2313559

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-09-19 16:52:21 +02:00
Iker Pedrosa
fe4f9dc5c0 Disable nscd
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-09-13 09:43:20 +02:00
Iker Pedrosa
4642a65eb4 Sort alphabetically configuration options
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-09-13 09:24:39 +02:00
Iker Pedrosa
8971f52d15 Rebase to version 4.16.0
Resolves: #2293678

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-08-28 13:20:46 +02:00
Iker Pedrosa
c3bc52a4f1 Rebase to version 4.16.0
Resolves: #2293678

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-08-13 09:57:12 +02:00
Kevin Fenzi
029086935e Revert chpasswd: use PAM again for now.
Revert chpasswd: use PAM again for now.
Revert chpasswd: use PAM again for now.
2024-07-23 14:03:06 -07:00
Fedora Release Engineering
3f78d723fa Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 05:23:05 +00:00
99c074978f Rebuilt for the bin-sbin merge
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
2024-07-09 13:56:48 +02:00
Iker Pedrosa
e3591abba0 chpasswd: use PAM again
Resolves: #2283963

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-05-30 16:01:57 +02:00
Iker Pedrosa
6ad0830639 Several fixes for issues detected by static analyzer tools
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-05-20 12:14:47 +02:00
39c1e07961 Prepare for bin-sbin merge
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

First, fix build if %_sbindir == %_bindir.

Second, add Provides for the old locations. We rely on the
filesystem(unmerged-sbin-symlinks) feature to actually create the symlinks
for us.

This commit makes things compatible with the state before and after the merge.
2024-04-11 15:41:50 +02:00