]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Remove a comment which states that an user shall provide a password to
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 17 Nov 2007 20:41:49 +0000 (20:41 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 17 Nov 2007 20:41:49 +0000 (20:41 +0000)
switch to her group.

ChangeLog
src/newgrp.c

index 5904b5483d9aaa9f613a9523560227ef158b2f38..6027530973a70af32ff48f3f361e14bf94905c3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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@centraliens.net>
 
index 38947bdf6545ceec745ae43fa7affec15b24f5ef..bc0ddb44c1256dbd98c4a964a98da6be3ca5e836 100644 (file)
@@ -371,13 +371,10 @@ int main (int argc, char **argv)
                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') {