From owner-freebsd-questions Mon Nov 25 21:54:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D7A437B401 for ; Mon, 25 Nov 2002 21:54:47 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05A1643EC5 for ; Mon, 25 Nov 2002 21:54:47 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18GYgD-00048x-00 for freebsd-questions@freebsd.org; Mon, 25 Nov 2002 21:54:41 -0800 Date: Mon, 25 Nov 2002 21:54:41 -0800 From: Nathan Kinkade To: FreeBSD Questions Subject: Re: what are my options? lost password. Message-ID: <20021126055441.GA14837@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: FreeBSD Questions References: <20021126052716.86465.qmail@web14507.mail.yahoo.com> <1038288904.16217.12.camel@daemon.velosystems.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1038288904.16217.12.camel@daemon.velosystems.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 25, 2002 at 09:35:04PM -0800, Steve Wingate wrote: > On Mon, 2002-11-25 at 21:27, CDG. wrote: > i moved over a month ago and i'm just getting > everything set back up. i tried to login to my > freebsd machine with what i thought was my password > and i can't login. can someone tell me what todo? > will i need to reinstall? =( > > Boot into single user mode, mount / read-writeable, edit /etc/passwd and > change the password field to a "*" or something. > Check the handbook online. Or, alternately, boot to single user mode by halting the boot process at the prompt and using `boot -s`. When the system comes up mount all filesystems, something like: # fsck -p # mount -u / # mount -a -t ufs Then simply run `passwd` (/usr/sbin/passwd) to change root's password. When done type exit and the system will boot to multi-user mode and you should be ok from there. Nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message