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

Leo Mrafko leo at oel.sk
Mon Sep 11 12:24:32 PDT 2006


On Mon, 11 Sep 2006, Chuck Swiger wrote:

> 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.

Thanks, but sorry, this can only make passwd from master.passwd, AFAIK.

Leo
>
> --
> -Chuck
>
>


More information about the freebsd-questions mailing list