The following reply was made to PR bin/119695; it has been noted by GNATS.

From: Nali Toja <[email protected]>
To: [email protected]
Cc:  
Subject: Re: bin/119695: pw(8) does not interact with nscd(8)
Date: Mon, 03 Oct 2011 09:11:47 +0000

 --=-=-=
 Content-Type: text/plain
 
 How about the following workaround?
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: inline; filename=reset_cache.diff
 
 Index: usr.sbin/pw/fileupd.c
 ===================================================================
 --- usr.sbin/pw/fileupd.c      (revision 224534)
 +++ usr.sbin/pw/fileupd.c      (working copy)
 @@ -188,6 +188,7 @@ fileupdate(char const * filename, mode_t fmode, ch
                                                                        
rename(file, filename);
                                                                else
                                                                        
ftruncate(infd, ftell(infp));
 +                                                              system("{ nscd 
-I group; nscd -I passwd; } 2>/dev/null >&2");
                                                        }
                                                }
                                                free(line);
 
 --=-=-=--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to