groupmod.c: --help wfix
Resolves: RHEL-105779 Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
parent
32f719ad89
commit
0e718c2d05
29
shadow-4.15.0-groupmod-help.patch
Normal file
29
shadow-4.15.0-groupmod-help.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From c1678a9e2759f60a2daf5e136c76fa6e47d6f400 Mon Sep 17 00:00:00 2001
|
||||
From: Alejandro Colomar <alx@kernel.org>
|
||||
Date: Wed, 30 Jul 2025 00:18:33 +0200
|
||||
Subject: [PATCH] src/groupmod.c: --help: wfix
|
||||
|
||||
Closes: <https://github.com/shadow-maint/shadow/issues/1313>
|
||||
Reported-by: Arshdeep Singh <arshdeepsinghsahni8@gmail.com>
|
||||
Signed-off-by: Alejandro Colomar <alx@kernel.org>
|
||||
---
|
||||
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
|
||||
|
||||
@ -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 <ipedrosa@redhat.com> - 2:4.15.0-9
|
||||
- groupmod.c: --help wfix. Resolves: RHEL-105779
|
||||
|
||||
* Mon May 26 2025 Iker Pedrosa <ipedrosa@redhat.com> - 2:4.15.0-8
|
||||
- vipw: restore the original terminal pgrp after editing. Resolves: RHEL-93172
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user