[Pkg-shadow-commits] r960 - trunk/debian/patches
Christian Perrier
bubulle at costa.debian.org
Tue Apr 18 05:53:58 UTC 2006
Author: bubulle
Date: 2006-04-18 05:53:57 +0000 (Tue, 18 Apr 2006)
New Revision: 960
Added:
trunk/debian/patches/402-clarify_usermod_usage
Log:
Add proposed patch to clarify usermod online help
(let's others comment before applying it)
Added: trunk/debian/patches/402-clarify_usermod_usage
===================================================================
--- trunk/debian/patches/402-clarify_usermod_usage 2006-04-18 05:40:55 UTC (rev 959)
+++ trunk/debian/patches/402-clarify_usermod_usage 2006-04-18 05:53:57 UTC (rev 960)
@@ -0,0 +1,30 @@
+Goal: Clarify the online help of usermod
+
+Fix: #363033
+
+Author: Christian Perrier <bubulle at debian.org>
+
+Status wrt upstream: forwarded but not applied yet
+
+Index: shadow-4.0.15/src/usermod.c
+===================================================================
+--- usermod.c.ori 2006-04-18 07:44:21.560344768 +0200
++++ usermod.c 2006-04-18 07:48:02.849703672 +0200
+@@ -276,7 +276,6 @@
+ fprintf (stderr, _("Usage: usermod [options] login\n"
+ "\n"
+ "Options:\n"
+- " -a, --append GROUP append the user to the supplemental GROUP\n"
+ " -c, --comment COMMENT new value of the GECOS field\n"
+ " -d, --home HOME_DIR new login directory for the new user account\n"
+ " -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE\n"
+@@ -284,6 +283,9 @@
+ " to INACTIVE\n"
+ " -g, --gid GROUP force use GROUP as new initial login group\n"
+ " -G, --groups GROUPS list of supplementary GROUPS\n"
++ " -a, --append append the user to the supplemental GROUPS\n"
++ " mentioned by the -G option without removing\n"
++ " him/her from other groups\n"
+ " -h, --help display this help message and exit\n"
+ " -l, --login LOGIN new value of the login name\n"
+ " -L, --lock lock the user account\n"
More information about the Pkg-shadow-commits
mailing list