Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 17:21:58 -0400
From:      "I'Khala" <ikhala@phoenix.cl.msu.edu>
To:        nunnari <roberto.nunnari@agie.ch>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: forgot root password!!
Message-ID:  <19990611172158.A40231@phoenix.cl.msu.edu>
In-Reply-To: <375F8E67.B7399D8B@agie.ch>; from nunnari on Thu, Jun 10, 1999 at 12:07:35PM %2B0200
References:  <375F8E67.B7399D8B@agie.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting nunnari (roberto.nunnari@agie.ch):
> Hi there.
> 
> Can anybody tell me how I can solve this problem?
> I tried to boot using the boot/fixit floppies but it doesn't
> work. When I select fixit from the boot menu, it asks for
> the fixit floppy but then when trying to read it, it hangs.
> I also tried the holo..shell on VT4, but from that shell
> I can't even issue ls nor anything else (probably I should
> mount a filesystem first???) as it not recognized as a
> command.
From: Matthew Hunt <mph@pobox.com>

Assuming you have physical access to the machine, and can reboot
it:

At the "Boot:" prompt, enter "-s" to boot in single user mode.

After the system boots, it will ask for the pathname of a shell,
or you can hit enter for /bin/sh.  Hit enter.

Run the following commands:

fsck -p
mount -u /
mount -a -t ufs

You can now run "passwd" to change the root password.  Then
"shutdown -r now" to reboot as usual.


> 
> I'm using FreeBSD 3.0
> Any advice/hints?
> 
> Best regards.
> -- 
>               Roberto Nunnari -software engineer-
>                 mailto:roberto.nunnari@agie.ch
>  AGIE - http://www.agie.com
>  Via dei pioppi 16                      tel: +41-91-8069138
>  6616 Losone                """
>  Switzerland               (o o)
> =======================oOO==(_)==OOo========================
>     MY OPNIONS ARE NOT NECESSARELY THOSE OF MY EMPLOYER
> 

#;^)
-- 
I'Khala                               ikhala@msu.edu
308 Computer Laboratory               ikhala@pager.msu.edu
Michigan State University             http://www.msu.edu/~ikhala
East Lansing, MI  48824               +1.517.355.4500  x.151


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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