Commit graph

370 commits

Author SHA1 Message Date
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
Iker Pedrosa
1f1cc49def getdef: avoid spurious error messages
Avoid spurious error messages about unknown configuration options

Resolves: #2265291

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-03-21 11:29:11 +05:30
Iker Pedrosa
f38dfa1357 Bump the minor release to 4.15.1
Wrong versioning for 4.15.0 RC releases makes the oficial release look
lower than them. Fix it by bumping the minor release to 4.15.1

Resolves: #2268690

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-03-12 09:46:18 +01:00
Iker Pedrosa
7c3405fb6a Rebase to version 4.15.0
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-03-11 11:36:23 +01:00
Iker Pedrosa
54fe2d4ca4 Rebase to version 4.15.0rc3
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-03-01 09:33:00 +01:00
Iker Pedrosa
fb4d930293 Rebase to version 4.15.0rc2
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-02-19 10:56:01 +01:00
Iker Pedrosa
07607754df Build linking libpam
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-02-12 15:57:19 +01:00
Iker Pedrosa
91360f25a8 passwd: Provide binary from this package
Provide binary from this package. Enable libpam and disable
account-tools-setuid. Provide passwd PAM service file. Finally, provide
--stdin option in passwd.

Resolves: #2233275

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-02-06 17:16:37 +01:00
Iker Pedrosa
1820858d26 Disable SSSD support
Resolves: #2253182

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2024-01-29 10:10:18 +01:00
Fedora Release Engineering
d5da1a5785 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 02:49:28 +00:00
Iker Pedrosa
b2b4416387 useradd: Set proper SELinux labels for def_usrtemplate
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2023-10-03 09:59:47 +02:00
Iker Pedrosa
799aaaa508 Rebase to version 4.14.0
Resolves: #2229000

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2023-08-16 10:55:53 +02:00
Petr Lautrbach
5cab3439c8 Use %autosetup instead of obsoleted %patchX macros
Also use -S git instead of suffixes, see

https://rpm-software-management.github.io/rpm/manual/autosetup.html

Fixes:
RPM build warnings:
    %patchN is deprecated (9 usages found), use %patch N (or %patch -P N)

Signed-off-by: Petr Lautrbach <lautrbach@redhat.com>
2023-08-02 16:35:52 +02:00
Fedora Release Engineering
874ece9028 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 01:31:45 +00:00
Yaakov Selkowitz
14b1f3518c Remove unused libbsd-devel dependency
libbsd is unwanted in RHEL, but the resulting binaries show no
dependency on libbsd anyway.
2023-06-06 19:31:04 -04:00
Iker Pedrosa
fd05b1cb1a Add build dependencies
Add libbsd-devel and libeconf-devel as build dependencies

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2023-03-06 12:05:17 +01:00
Iker Pedrosa
c0c2ea7769 newuidmap and newgidmap: support passing pid as fd
Resolves: #2174752

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2023-03-02 14:36:39 +01:00
Fedora Release Engineering
f7089c062f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 03:07:17 +00:00
Iker Pedrosa
8779239933 Change SUB_UID_MIN and SUB_GID_MIN to 524288
Resolves: #2144558

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2022-11-23 15:57:56 +01:00
Florian Weimer
bb5dc8ec04 Fix gshadow configure check (switching to glibc implementation)
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2022-11-21 11:56:22 +01:00
Iker Pedrosa
d3e12503af - Rebase to version 4.13
- SPDX license migration

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2022-11-09 15:19:52 +01:00
Iker Pedrosa
47d965b5dc chage: Fix regression in print_date
Resolves: #2129336

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2022-10-05 13:04:29 +02:00
Iker Pedrosa
d491f14619 useradd: Do not reset non-existent data in {last,fail}log
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2022-09-09 15:04:49 +02:00