From owner-freebsd-questions Thu Apr 3 09:46:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA05176 for questions-outgoing; Thu, 3 Apr 1997 09:46:17 -0800 (PST) Received: from delos.stuttgart.netsurf.de (delos.stuttgart.netsurf.de [194.163.56.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA05168 for ; Thu, 3 Apr 1997 09:46:12 -0800 (PST) Received: by delos.stuttgart.netsurf.de (Smail3.1.29.1/delos.LF.net) via LF.net GmbH Internet Services from shire with smtp for freefall.FreeBSD.ORG id m0wCqZ4-0000TXC; Thu, 3 Apr 97 19:44 WET DST Date: Thu, 3 Apr 1997 19:49:22 +0200 (MET DST) From: Joachim Kuebart X-Sender: joki@shire Reply-To: Joachim Kuebart To: Serge cc: freebsd-questions@FreeBSD.ORG Subject: Re: Please help: login problem In-Reply-To: <3.0.1.32.19970404134933.0091aca0@post.nettec.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 4 Apr 1997, Serge wrote: > Dear Sirs > > Please help: after re-installing FreeBSD 2.2.1 from scratch (using ftp2 > server in the UK) I got the following problem: > Login: (I typed in "root") > the next line was > Password: (whatever I typed in, it did not let me in, I was just > getting messages "Incorrect password" etc). > > Before that I installed FreeBSD 2.2.1 from the same ftp2/UK server > on the same generic PC machine, and everything was just fine! > Why you messed up yuor password I do not know. The solution is: Boot and type -s at the boot prompt. This will open single user mode and start sh without having you enter a password. Then use vipw to delete the root password. You will have to "mount /usr" because vipw is in /usr/sbin. This will be uncomfortable, since there will be no local keyboard layout (if you need one) nor any PATH etc. set. But once you're through it, reboot, enter root (it won't even ask for a password, I remember) and use passwd to set a new passwd That should do it c u Jo