From owner-freebsd-questions@FreeBSD.ORG Mon Sep 11 19:19:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8469E16A407 for ; Mon, 11 Sep 2006 19:19:59 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41FD643D45 for ; Mon, 11 Sep 2006 19:19:59 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin03-en2 [10.13.10.148]) by smtpout.mac.com (Xserve/8.12.11/smtpout12/MantshX 4.0) with ESMTP id k8BJJwCx008035; Mon, 11 Sep 2006 12:19:58 -0700 (PDT) Received: from [17.214.13.96] (a17-214-13-96.apple.com [17.214.13.96]) (authenticated bits=0) by mac.com (Xserve/smtpin03/MantshX 4.0) with ESMTP id k8BJJuSG004363; Mon, 11 Sep 2006 12:19:57 -0700 (PDT) In-Reply-To: <20060911211036.U8955@kesp.elf.stuba.sk> References: <20060911203455.H8955@kesp.elf.stuba.sk> <20060911211036.U8955@kesp.elf.stuba.sk> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Mon, 11 Sep 2006 12:19:56 -0700 To: Leo Mrafko X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAQAAA+k= X-Language-Identified: TRUE Cc: FreeBSD Mailing Lists Subject: Re: Restore master.passwd from pwd.db and spwd.db X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 19:19:59 -0000 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