How to reset root passwd FreeBSd4.7
bv at wjv.com
Fri Jul 15 14:56:37 GMT 2005
While normally not able to pour water out of a boot with
instructions on the heel, on Fri, Jul 15, 2005 at 12:00
our dear friend freebsd-hackers-request at freebsd.org uttered this load of codswallop:
> Message: 3
> Date: Thu, 14 Jul 2005 09:55:16 -0400 (EDT)
> From: John Von Essen <john at essenz.com>
> Subject: Re: How to reset root passwd FreeBSdD4.7
> Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From
> there you have to manually mount the / filesystem and edit
> passwd (just clear out the passwd, root::). However, do an fsck
> on the device first (you may have to reboot afterwards) since if
> you have any fragmentation following an unclean shutdown, you
> will not be able to mount the device.
Just a short comment. 'Fragmentation' has nothing to do with this.
An bad shutdown fails to sync the data and thus requiring and
fsck to ensure the filesystem is in an stable state.
The 'fragments' you see referenced in the fsck only reference the
number of files that are stored in fragments - eg not occupying
a full block allocation.
Bill Vermillion - bv @ wjv . com
More information about the freebsd-hackers