[Pkg-shadow-commits] r1383 - in upstream/trunk: . src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Nov 17 20:41:49 UTC 2007


Author: nekral-guest
Date: 2007-11-17 20:41:49 +0000 (Sat, 17 Nov 2007)
New Revision: 1383

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/newgrp.c
Log:
Remove a comment which states that an user shall provide a password to
switch to her group.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2007-11-17 20:28:32 UTC (rev 1382)
+++ upstream/trunk/ChangeLog	2007-11-17 20:41:49 UTC (rev 1383)
@@ -79,6 +79,7 @@
 	newgrp to switch to her primary group.
 	This fixes http://bugs.debian.org/396691.
 	Debian patch 497_newgrp_primary_group.
+	* src/newgrp.c: Remove a comment which states otherwise.
 
 2007-11-17  Nicolas François  <nicolas.francois at centraliens.net>
 

Modified: upstream/trunk/src/newgrp.c
===================================================================
--- upstream/trunk/src/newgrp.c	2007-11-17 20:28:32 UTC (rev 1382)
+++ upstream/trunk/src/newgrp.c	2007-11-17 20:41:49 UTC (rev 1383)
@@ -371,13 +371,10 @@
 		needspasswd = 1;
 
 	/*
-	 * Now i see about letting her into the group she requested. If she
-	 * is the root user, i'll let her in without having to prompt for
-	 * the password. Otherwise i ask for a password if she flunked one
+	 * Now I see about letting her into the group she requested. If she
+	 * is the root user, I'll let her in without having to prompt for
+	 * the password. Otherwise I ask for a password if she flunked one
 	 * of the tests above.
-	 *
-	 * Note that she now has to provide the password to her own group,
-	 * unless she is listed as a member.  -- JWP
 	 */
 	if (getuid () != 0 && needspasswd) {
 		if (grp->gr_passwd[0] == '\0') {




More information about the Pkg-shadow-commits mailing list