From owner-freebsd-questions@FreeBSD.ORG Mon Sep 11 18:51:58 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 7008316A407 for ; Mon, 11 Sep 2006 18:51:58 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D5C543D77 for ; Mon, 11 Sep 2006 18:51:49 +0000 (GMT) (envelope-from buhnux@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2121376pye for ; Mon, 11 Sep 2006 11:51:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=s1e8X/ublpEacAb+avjXU4o7ivO1zhNA+NkyicyfWVuUAcvR1JvQ29pHX2yaaBm+BxTEUZUqNdmv4otrXGc+emdtXcAcNf97N5++KyMWoUr26NQjqAh82gSdGMUR1SyImD4gNAocsXCiZcilCgErLIgUursBxDiglfxBeYiHw94= Received: by 10.35.114.16 with SMTP id r16mr10054440pym; Mon, 11 Sep 2006 11:51:48 -0700 (PDT) Received: by 10.35.90.6 with HTTP; Mon, 11 Sep 2006 11:51:48 -0700 (PDT) Message-ID: Date: Mon, 11 Sep 2006 14:51:48 -0400 From: "michael johnson" Sender: buhnux@gmail.com To: "Leo Mrafko" In-Reply-To: <20060911203455.H8955@kesp.elf.stuba.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060911203455.H8955@kesp.elf.stuba.sk> X-Google-Sender-Auth: eb55ffd245245964 Cc: freebsd-questions@freebsd.org 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 18:51:58 -0000 On 9/11/06, Leo Mrafko 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" >