diff --git a/shadow-4.15.0-groupmod-help.patch b/shadow-4.15.0-groupmod-help.patch new file mode 100644 index 0000000..125ae53 --- /dev/null +++ b/shadow-4.15.0-groupmod-help.patch @@ -0,0 +1,29 @@ +From c1678a9e2759f60a2daf5e136c76fa6e47d6f400 Mon Sep 17 00:00:00 2001 +From: Alejandro Colomar +Date: Wed, 30 Jul 2025 00:18:33 +0200 +Subject: [PATCH] src/groupmod.c: --help: wfix + +Closes: +Reported-by: Arshdeep Singh +Signed-off-by: Alejandro Colomar +--- + src/groupmod.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/groupmod.c b/src/groupmod.c +index 34b670f6..2cdb2067 100644 +--- a/src/groupmod.c ++++ b/src/groupmod.c +@@ -132,7 +132,8 @@ static void usage (int status) + " PASSWORD\n"), usageout); + (void) fputs (_(" -R, --root CHROOT_DIR directory to chroot into\n"), usageout); + (void) fputs (_(" -P, --prefix PREFIX_DIR prefix directory where are located the /etc/* files\n"), usageout); +- (void) fputs (_(" -U, --users USERS list of user members of this group\n"), usageout); ++ (void) fputs (_(" -U, --users USERS comma-separated list of users to add as\n" ++ " members of this group\n"), usageout); + (void) fputs ("\n", usageout); + exit (status); + } +-- +2.52.0 + diff --git a/shadow-utils.spec b/shadow-utils.spec index 3c6c96d..7f516e5 100644 --- a/shadow-utils.spec +++ b/shadow-utils.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing accounts and shadow password files Name: shadow-utils Version: 4.15.0 -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 2 License: BSD-3-Clause AND GPL-2.0-or-later URL: https://github.com/shadow-maint/shadow @@ -34,6 +34,8 @@ Patch5: shadow-4.15.0-getdef-spurious-error.patch Patch6: shadow-4.15.0-useradd-fix-write-full-return.patch # https://github.com/shadow-maint/shadow/commit/3b12ab7e29b0f3c766b39269da76a5ef3a753b22 Patch7: shadow-4.15.0-vipw-restore-terminal.patch +# https://github.com/shadow-maint/shadow/commit/c1678a9e2759f60a2daf5e136c76fa6e47d6f400 +Patch8: shadow-4.15.0-groupmod-help.patch ### Dependencies ### Requires: audit-libs >= 1.6.5 @@ -282,6 +284,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.a %{_libdir}/libsubid.so %changelog +* Thu Nov 27 2025 Iker Pedrosa - 2:4.15.0-9 +- groupmod.c: --help wfix. Resolves: RHEL-105779 + * Mon May 26 2025 Iker Pedrosa - 2:4.15.0-8 - vipw: restore the original terminal pgrp after editing. Resolves: RHEL-93172