Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 1997 17:26:12 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Yingjun He <hey@tuns.ca>
Cc:        questions@freebsd.org
Subject:   Re: your mail
Message-ID:  <Pine.UW2.3.95.970423172416.20718M-100000@cedb>
In-Reply-To: <199704231230.FAA27451@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Apr 1997, Yingjun He wrote:
> I don't like to reinstall the system (It takes me several hours to install
> everything). Is there anyway to erase the password and get into root? I 
> tried to use "kernek -s" to boot but I cannot edit /etc/passwd with vi.

At the boot: prompt, type in -s

After a bit you'll get a prompt to enter a shell or <enter> for
sh.  Just hit enter.

Now run passwd
It will ask you for a new password for root.  Enter a new password.
While you're at it, run adduser and create some normal accounts.

Dan
-- 
 Dan Busarow                                                  714 443 4172
 DPC Systems / Beach.Net                                    dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970423172416.20718M-100000>