Restore master.passwd from pwd.db and spwd.db

Chuck Swiger cswiger at mac.com
Mon Sep 11 12:19:59 PDT 2006


On Sep 11, 2006, at 12:14 PM, Leo Mrafko wrote:
>> /var/backups contains a few files you may need.
>
> Yeah, really, thanks, I found there some backup. But I still  
> wonder, if
> there is a possibily to reconstruct master passwd back from .db files,
> e.g. in case this backup is not up-to-date. I think it should be  
> possible,
> but I don't knw how..

You should be able to use "pwd_mkdb -p"; see the manpage.

-- 
-Chuck



More information about the freebsd-questions mailing list