Author: jim
Date: 2006-02-24 23:19:26 -0700 (Fri, 24 Feb 2006)
New Revision: 1416

Added:
   trunk/shadow/shadow-4.0.14-useradd_addgroup-1.patch
Modified:
   trunk/
Log:
 [EMAIL PROTECTED]:  jim | 2006-02-24 22:18:11 -0800
 Added: shadow-4.0.14-useradd_addgroup-1.patch



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710
e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1462
   + cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710
e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1464

Added: trunk/shadow/shadow-4.0.14-useradd_addgroup-1.patch
===================================================================
--- trunk/shadow/shadow-4.0.14-useradd_addgroup-1.patch                         
(rev 0)
+++ trunk/shadow/shadow-4.0.14-useradd_addgroup-1.patch 2006-02-25 06:19:26 UTC 
(rev 1416)
@@ -0,0 +1,26 @@
+Submitted By: Marc Trachy <mltrachy at gmail dot com> 
+Date: 2006-02-24
+Initial Package Version: 4.0.14
+Upstream Status: Unknown
+Origin: Marc Trachy
+Description: Supresses the creation of a new group during the creation of each 
new user.
+
+--- shadow-4.0.14/src/useradd.c        2005-12-15 15:06:28.000000000 +0000
++++ useradd.c  2006-02-25 04:21:19.000000000 +0000
+@@ -914,6 +914,7 @@
+ 
+ static void find_new_gid ()
+ {
++      fprintf(stderr, "Trying to find new gid\n");
+       const struct group *grp;
+       gid_t gid_min, gid_max;
+ 
+@@ -1762,7 +1763,7 @@
+ 
+       /* do we have to add a group for that user? This is why we need to
+        * open the group files in the open_files() function  --gafton */
+-      if (!(nflg || gflg)) {
++      if (!(!nflg || gflg)) {
+               find_new_gid ();
+               grp_add ();
+       }

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to