From owner-freebsd-questions Mon Apr 22 14:31:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id D182037BBB7 for ; Mon, 22 Apr 2002 14:29:45 -0700 (PDT) Received: from fac13.ds.psu.edu (localhost [127.0.0.1]) by fac13.ds.psu.edu (8.12.2/8.12.2) with ESMTP id g3MLSrer005727; Mon, 22 Apr 2002 17:28:53 -0400 (EDT) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200204222128.g3MLSrer005727@fac13.ds.psu.edu> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Henry smith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: repair password? In-Reply-To: Your message of "Sun, 21 Apr 2002 02:50:46 PDT." <20020421095046.51757.qmail@web21107.mail.yahoo.com> From: dochawk@psu.edu Date: Mon, 22 Apr 2002 17:28:53 -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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. mount -a (to get everything mounted in appropriate form) vipw (modifies paswords) just plain delete the password for root (and any other affected user). Then be sure to add a new one :) -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message