Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2003 23:21:55 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        David Syphers <dsyphers@oddjob.uchicago.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: transferring data (after losing all non-root logins)
Message-ID:  <3EF7EE02.E38803F4@mindspring.com>
References:  <Pine.GSO.4.10.10306231806320.15277-100000@oddjob.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF7EE02.E38803F4>