One method to recover a lost root password

Soeren Straarup xride at
Sat Mar 17 05:49:05 UTC 2007

On Fri, Mar 16, 2007 at 08:45:30PM -0000, Derekj Tourneo wrote:
> now edit the master password file
> 	vi /mnt/etc/master.passwd

Try: vipw -d /mnt/etc
It automaticly updates the right db(s)

Futher reading: man 8 vipw


Soeren Straarup   | aka OZ2DAK aka Xride
FreeBSD committer | FreeBSD since 2.2.6-R
  If a program is not working right, then send a patch

More information about the freebsd-hackers mailing list