From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 23:23:04 2003 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 514BD37B401 for ; Mon, 23 Jun 2003 23:23:04 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFF1D43F3F for ; Mon, 23 Jun 2003 23:23:03 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38ldt1t.dialup.mindspring.com ([209.86.244.61] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19UhCo-0003N3-00; Mon, 23 Jun 2003 23:23:03 -0700 Message-ID: <3EF7EE02.E38803F4@mindspring.com> Date: Mon, 23 Jun 2003 23:21:55 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Syphers References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4095d0eec26733acd099a501dc1d25e633ca473d225a0f487350badd9bab72f9c350badd9bab72f9c cc: freebsd-current@freebsd.org Subject: Re: transferring data (after losing all non-root logins) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 06:23:04 -0000 David Syphers wrote: > I recently forgot my root password, rebooted single-user and changed it, > and immediately afterwards the computer denied the existence of any > non-root users (home directories still there for those that had them, > they still have login shells, etc.). This was the only change made to > the system. This is a -current system from late April that was in storage > for a while. There was a change to the database file format that dealt with byte order independence. You can probably use the older pwd_mkdb and recover all your accounts by reverting the "upgrade" from using the new utility. See also the CVS log for the passwd program, and the discussion on the -current mailing list (I believe the change was PHK's idea; I didn't participate in the discussion). -- Terry