From owner-freebsd-questions Mon Oct 18 9:23:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 0A11014D50 for ; Mon, 18 Oct 1999 09:23:49 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11dFZO-0003Tq-00; Mon, 18 Oct 1999 18:23:34 +0200 From: Sheldon Hearn To: bill slaybaugh Cc: questions@freebsd.org Subject: Re: flaky single user boot In-reply-to: Your message of "Mon, 18 Oct 1999 10:36:01 -0400." <380B3051.B65B5BDC@bright.net> Date: Mon, 18 Oct 1999 18:23:34 +0200 Message-ID: <13381.940263814@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 18 Oct 1999 10:36:01 -0400, bill slaybaugh wrote: > I got up to the point of running 'passwd root' but then got: > 'passwd: error opening database: /etc/pwd.db.: No such file' etc. > I really did not forget my root password, but something did > happen to *.db files under /etc. Yeah, that was your original problem, which I assumed you'd know how to fix once you were into the system. Sorry about that. :-) Okay, this ought to rebuild your pwd.db and spwd.db files, assuming you still have the master.passwd file: cd /etc pwd_mkdb master.passwd If you _don't_ still have a master.passwd file, you may have a backup copy in /var/backups. Good luck! Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message