Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 1998 09:36:24 -0500 (EST)
From:      Steve Hovey <shovey@buffnet.net>
To:        system@mail.haitang.com.cn
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: root password
Message-ID:  <Pine.BSI.3.95.980205093522.10321Z-100000@buffnet11.buffnet.net>
In-Reply-To: <19980205.14500861@AccSMTP>

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

On Thu, 5 Feb 1998 system@mail.haitang.com.cn wrote:

> Hi,
>   May I reboot system from boot disk and change root password, if I forgot
> my root password.

Just boot stand alone - At the boot: type

-s

Then it will at some point prompt you to enter a shell or enter for
/bin/sh - that put you in as root

Then remote the root drive:

mount /

You should then be able to type

passwd root

And set a new one.
------------------------------------------------------------------
Steve Hovey
Chief Engineer
BuffNET		More Than Just a Connection!
------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.980205093522.10321Z-100000>