Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2006 14:51:48 -0400
From:      "michael johnson" <ahze@ahze.net>
To:        "Leo Mrafko" <leo@oel.sk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Restore master.passwd from pwd.db and spwd.db
Message-ID:  <b2203fed0609111151y2d657dcejab3764c93c7cf7f0@mail.gmail.com>
In-Reply-To: <20060911203455.H8955@kesp.elf.stuba.sk>
References:  <20060911203455.H8955@kesp.elf.stuba.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/11/06, Leo Mrafko <leo@oel.sk> wrote:
> Hello,
>
> after some weird disk accident I have only pwd.db and spwd.db from my
> passwd files left. Passwd and master.passwd are missing. Couln't find them
> in /lost+found too. The system is running, but I can not add new users, of
> course (baybe only using pwd_mkdb -u ).
> Is there any way how to reconstruct master.passwd ? I was searching
> through the archives and dind't finde the answer. I was also trying to
> look into pwd_mkdb source, but ...
>

/var/backups contains a few files you may need.

> Thanks in advance
> Leo Mrafko
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



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