From owner-freebsd-hackers Sun Sep 24 14:41:54 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA15857 for hackers-outgoing; Sun, 24 Sep 1995 14:41:54 -0700 Received: from trepan.io.org (taob@trepan.io.org [198.133.36.8]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA15851 for ; Sun, 24 Sep 1995 14:41:47 -0700 Received: (from taob@localhost) by trepan.io.org (8.6.9/8.6.9) id RAA22260; Sun, 24 Sep 1995 17:41:11 -0400 Date: Sun, 24 Sep 1995 17:41:09 -0400 (EDT) From: Brian Tao To: Guido van Rooij cc: hackers@FreeBSD.ORG Subject: Re: Guido's pwd_mkdb improvements (fwd) In-Reply-To: <199509241950.UAA06285@gvr.win.tue.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > 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. I read something about BSD/OS 2.0 having "incremental passwd database rebuilding"... same thing? > Vipw is bad in that you can't tell which records were changed. Can't you just sort the file (both before and after) and do a diff on the outputs? -- Brian Tao System Administrator, Internex Online Inc. "Though this be madness, yet there is method in't"