From owner-freebsd-current@FreeBSD.ORG Wed Apr 28 08:49:52 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC0216A4CE for ; Wed, 28 Apr 2004 08:49:52 -0700 (PDT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D42343D3F for ; Wed, 28 Apr 2004 08:49:52 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.10) with ESMTP id i3SFnoqT067483; Wed, 28 Apr 2004 08:49:51 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i3SFnnpn067482; Wed, 28 Apr 2004 08:49:49 -0700 (PDT) (envelope-from obrien) Date: Wed, 28 Apr 2004 08:49:48 -0700 From: "David O'Brien" To: Luigi Rizzo Message-ID: <20040428154948.GA67302@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Luigi Rizzo , current@freebsd.org References: <20040426094331.A47077@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040426094331.A47077@xorpc.icir.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: current@freebsd.org Subject: Re: running pwd_mkdb from the startup scripts ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 15:49:52 -0000 On Mon, Apr 26, 2004 at 09:43:31AM -0700, Luigi Rizzo wrote: > The problem is, if the [s]pwd.db and [master.]passwd files > are out of sync, the system trusts the binary version and not > the one-true-source which would be master.passwd, so in > certain cases it would be nice to have them resynced automatically > at boot time If you're in an environment that the out-of-sync situation occurs often, why not just 'rm' the binary versions and only use the text versions? I'm pretty sure at least at one time the .db files were optional (but desired for performance reasons). -- -- David (obrien@FreeBSD.org)