View Single Post
Old 28th April 2009
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 413


I got this right before seeing anomie's post.

But after restoring /etc/master.passwd you need to do the following:

pwd_mkdb -C /etc/master.passwd
pwd_mkdb -p /etc/master.passwd
pwd_mkdb /etc/master.passwd
this rebuilds /etc/passwd and /etc/pwd.db

after that, I could passwd root to set the password!
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote