Date: Wed, 8 Nov 2000 20:26:05 -0500 (EST) From: Chris Hill <chris@monochrome.org> To: John Bolster <j.bol@gte.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problem with passwords file Message-ID: <Pine.BSF.3.96.1001108202334.5992B-100000@localhost> In-Reply-To: <NEBBKLANMLAKACFKNODOEEAHCGAA.j.bol@gte.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Nov 2000, John Bolster wrote: > On FreeBSD 4.1 I tried to run adduser on root to try and get rid of the > 'Charlie &' and now adduser says: > > pwd:mkdb: root uid should be 0 > pwd:mkdb: at line #20 > pwd:mkdb: /etc/pw.gXb228: Inappropriate file type or format > > and it refuses to let me change root password or add any users. > > Everything else is still working OK- I can log in just fine. > > Does you know what I can do to fix or rebuild whatever has > been damaged? (and what I shouldn't do again?) It's not certain that anything has been damaged. Can you still log in as root? Try using vipw instead of adduser. Just edit the field where it says 'Charlie &' and you should be OK. HTH. -- Chris Hill chris@monochrome.org [1] Bus error netscape 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?Pine.BSF.3.96.1001108202334.5992B-100000>