Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 15:28:31 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Christopher Svensrud <chris.svensrud@sbcglobal.net>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Login question
Message-ID:  <40AD06DF.1000704@potentialtech.com>
In-Reply-To: <20040520192252.D813E43D31@mx1.FreeBSD.org>
References:  <20040520192252.D813E43D31@mx1.FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

Christopher Svensrud wrote:
> I keep having the same problem with login. The system keeps indicating that
> the password is incorrect. I have been able to reset the password and still
> it gives me the same message.
> 
> I just started running FreBSD and I was setting up Samba when this occurred.

Reboot the system by hitting <ctrl>+<alt>+<delete>, while it's booting back
up, press space bar when you see the "press <enter> to boot or ..." and before
it finishes counting down.  (You don't mention which version of FreeBSD you're
using, but FreeBSD 5 has a spiffy menu here where you can just select a menu
item for single-user mode) At the prompt, enter "boot -s" to boot into single-
user mode.  When asked for a default shell, just hit <enter> to accept the
default.  Once you have a shell prompt, enter "fsck -y" and then "mount -a".

Now you're logged in and can execute commands as root.  Enter "passwd <user>"
to change the password for <user>.  If you omit <user>, you'll change the root
password.

good luck.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40AD06DF.1000704>