One method to recover a lost root password
Matthew D. Fuller
fullermd at over-yonder.net
Sat Mar 17 22:19:37 UTC 2007
On Sat, Mar 17, 2007 at 06:49:02AM +0100 I heard the voice of
Soeren Straarup, and lo! it spake thus:
> 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)
# chroot /mnt passwd root
--
Matthew Fuller (MF4839) | fullermd at over-yonder.net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
More information about the freebsd-hackers
mailing list