How to reset root passwd FreeBSdD4.7
vd at datamax.bg
Fri Jul 15 06:44:29 GMT 2005
On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote:
> 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.
Simply editing /etc/passwd won't do the work (this is not Linux, eah)
/etc/master.passwd must be edited and then pwd_mkdb /etc/master.passwd
must be run.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050715/db998e17/attachment.bin
More information about the freebsd-hackers