Date: Mon, 22 Apr 2002 17:28:53 -0400 From: dochawk@psu.edu To: Henry smith <getzz11@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: repair password? Message-ID: <200204222128.g3MLSrer005727@fac13.ds.psu.edu> In-Reply-To: Your message of "Sun, 21 Apr 2002 02:50:46 PDT." <20020421095046.51757.qmail@web21107.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204222128.g3MLSrer005727>