From owner-freebsd-stable Sun Apr 21 3: 3:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from herbelot.dyndns.org (d013.dhcp212-198-27.noos.fr [212.198.27.13]) by hub.freebsd.org (Postfix) with ESMTP id A878237B400 for ; Sun, 21 Apr 2002 03:03:06 -0700 (PDT) Received: from herbelot.com (tulipe.herbelot.nom [192.168.1.5]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id MAA30424; Sun, 21 Apr 2002 12:03:01 +0200 (CEST) (envelope-from thierry@herbelot.com) Message-ID: <3CC28E54.9ADDE6@herbelot.com> Date: Sun, 21 Apr 2002 12:03:00 +0200 From: Thierry Herbelot X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Henry smith Cc: freebsd-stable@FreeBSD.ORG Subject: Re: password database recover? References: <20020421095110.86569.qmail@web21108.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, if you have installed the sources, you can get a "virgin" master.passwd file from : /usr/src/etc/master.passwd can you "ls /etc" to see which files are missing ? TfH PS : the same file is also on the second installation CD (along with a full /etc directory) Henry smith wrote: > > Hi, > > My password database is mess up. I start the server > using single user, but I can't change the root > password. > > #passwd > passwd: unknown user root > #passwd test > pwd_mkdb: /etc/pwd.db.tmp: Inappropriate file type or > format. > > Anybody know how to resolve this problem? > > Thank you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message