From owner-freebsd-hackers Sun Sep 24 14:36:02 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA15491 for hackers-outgoing; Sun, 24 Sep 1995 14:36:02 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA15484 for ; Sun, 24 Sep 1995 14:36:00 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id OAA06150; Sun, 24 Sep 1995 14:35:06 -0700 From: Julian Elischer Message-Id: <199509242135.OAA06150@ref.tfs.com> Subject: Re: Guido's pwd_mkdb improvements (fwd) To: guido@gvr.win.tue.nl (Guido van Rooij) Date: Sun, 24 Sep 1995 14:35:05 -0700 (PDT) Cc: taob@io.org, bugs@ns1.win.net, hackers@FreeBSD.ORG In-Reply-To: <199509241950.UAA06285@gvr.win.tue.nl> from "Guido van Rooij" at Sep 24, 95 08:50:19 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1112 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk you can sort the passwd on uid and name before editing it, do the same afterwards, get a diff, change those records and then store the version of the passwd file the user saved (user selected order) > > Brian Tao wrote: > > > > On Fri, 22 Sep 1995, Mark Hittinger wrote: > > > > > > 12,870 lines in /etc/passwd today. > > > > Sorry, I'm just getting back up to speed again with my new job in > > Toronto... what are these improvements to pwd_mkdb? > > A simple observation: most master.passwd updates are done because > only one line needs to be updated. So I added an option to > pwd_mkdb that only touches a specific record. > > Before commiting any of these, some discussions willbe necessary as > I'd like a complete solution. That means that there is support to delete > an entry and, when it's up to me, there willbe some replacement for > vipw. Vipw is bad in that you can't tell which records were changed. > Vipw can still be used, but only with care as *large* rebuild times > are to be expected. I'll post my patches later tonight and I'd like other > to comment on them. > > -Guido >