Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 17:42:28 +1300
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        "Shane Reid" <nebula@accesscomm.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Password
Message-ID:  <19990118044309.VTCJ678125.mta2-rme@wocker>
In-Reply-To: <001b01be4292$af752120$320c10ac@nebula>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 Jan 99, at 21:28, Shane Reid wrote:

> I hope one of you out there can help me with this.  I was working on
> configuring a box locally and it wasnt shutdown properly.  When I moved it
> to the new location I could not log in as root with the same password as
> before and I was just working on it.  Is there any way to change the root
> password without knowing it?  Any help would be appeciated.  Thanks in
> advance.

I found the answer at http://www.freebsd.org/FAQ/FAQ135.html

###
Don't Panic! Simply restart the system, type -s at the Boot: prompt to 
enter Single User mode. At the
question about the shell to use, hit ENTER. You'll be dropped to a # 
prompt. Enter mount -u / to
remount your root filesystem read/write, then run mount -a to remount all 
the filesystems. Run passwd
root to change the root password then run exit to continue booting. 
###

--
Dan Langille
The FreeBSD Diary
http://www.FreeBSDDiary.com/freebsd

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?19990118044309.VTCJ678125.mta2-rme>