From owner-freebsd-questions Tue Oct 24 12:30:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from css-1.cs.iastate.edu (css-1.cs.iastate.edu [129.186.3.24]) by hub.freebsd.org (Postfix) with ESMTP id 2F28C37B479 for ; Tue, 24 Oct 2000 12:30:09 -0700 (PDT) Received: from popeye.cs.iastate.edu (ghelmer@popeye.cs.iastate.edu [129.186.3.4]) by css-1.cs.iastate.edu (8.9.0/8.9.0) with ESMTP id OAA11643; Tue, 24 Oct 2000 14:30:08 -0500 (CDT) Received: from localhost (ghelmer@localhost) by popeye.cs.iastate.edu (8.9.0/8.9.0) with ESMTP id OAA02874; Tue, 24 Oct 2000 14:30:04 -0500 (CDT) X-Authentication-Warning: popeye.cs.iastate.edu: ghelmer owned process doing -bs Date: Tue, 24 Oct 2000 14:30:04 -0500 (CDT) From: Guy Helmer To: Warner Losh Cc: Doug Barton , "Brandon D. Valentine" , Salvo Bartolotta , Chris Byrnes , freebsd-questions@FreeBSD.ORG Subject: Re: Removing user with "-" in username In-Reply-To: <200010241808.MAA17299@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 24 Oct 2000, Warner Losh wrote: > In message <39F5B80B.6FD8E3C7@gorean.org> Doug Barton writes: > : I sent the attached more complete fix as a response to warner's, but > : never heard back (presumably due to 'con preparations). Without > : objection I will probably commit this to -current once my account on > : freefall gets setup. > > It looked ok to me, but I didn't have time to trace through the perl > code to see all the ramifications of doing this. Is it OK to use the getpw* functions while we are modifying the passwd files? I explicitly avoided using them when I originally wrote rmuser because the program directly manipulates the passwd files. Otherwise, the changes looked OK to me. Guy Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science Research Assistant, Dept. of Computer Science --- ghelmer@cs.iastate.edu http://www.cs.iastate.edu/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message