Date: Sun, 21 Apr 2002 18:09:57 +0200 From: Axel Scheepers <axel@axel.truedestiny.net> To: Henry smith <getzz11@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: repair password? Message-ID: <20020421180957.F82499@mars.thuis> In-Reply-To: <20020421095046.51757.qmail@web21107.mail.yahoo.com>; from getzz11@yahoo.com on Sun, Apr 21, 2002 at 02:50:46AM -0700 References: <20020421095046.51757.qmail@web21107.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 21, 2002 at 02:50:46AM -0700, 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. Hi, You could try to edit /etc/master.passwd by hand to fix the errors, then rebuild the passwd db using the pwd_mkdb command. You can use the -C option to check if you've edited it right: #man pwd_mkdb ... -C Check if the password file is in the correct format. Do not change, add, or remove any files. ... > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Games - play chess, backgammon, pool and more > http://games.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Gr, -- Axel Scheepers UNIX System Administrator email: axel@axel.truedestiny.net a.scheepers@iae.nl http://axel.truedestiny.net/~axel ------------------------------------------ "We demand rigidly defined areas of doubt and uncertainty!" -- Vroomfondel ------------------------------------------ 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?20020421180957.F82499>