How to reset root passwd FreeBSdD4.7

John Von Essen john at essenz.com
Thu Jul 14 13:55:25 GMT 2005


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.

-john

On Thu, 14 Jul 2005, Vyacheslav Sotnikov wrote:

> John Von Essen пишет:
> > boot single user...
> >
> > mount -u /
> > mount -a
> >
> > Then use vipw or passwd to clear out or change root password. If you
> > shutdown the system un-cleanly, you may have to do an fsck / as
> > fragmentation will prevent the filesystem from being mounted
> > read-write-able.
> >
> > -john
>
>
> but what to do if i have "console	insecure" in /etc/ttys?
>
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


More information about the freebsd-hackers mailing list