Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2006 12:19:56 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Leo Mrafko <leo@oel.sk>
Cc:        FreeBSD Mailing Lists <freebsd-questions@freebsd.org>
Subject:   Re: Restore master.passwd from pwd.db and spwd.db
Message-ID:  <A46082B3-27E8-42C2-919A-45552A24BD58@mac.com>
In-Reply-To: <20060911211036.U8955@kesp.elf.stuba.sk>
References:  <20060911203455.H8955@kesp.elf.stuba.sk> <b2203fed0609111151y2d657dcejab3764c93c7cf7f0@mail.gmail.com> <20060911211036.U8955@kesp.elf.stuba.sk>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A46082B3-27E8-42C2-919A-45552A24BD58>