Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2007 16:51:15 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Soeren Straarup <xride@x12.dk>
Cc:        freebsd-hackers@freebsd.org, Derekj Tourneo <derekj@tourneo.com>
Subject:   Re: One method to recover a lost root password
Message-ID:  <20070317215114.GG96961@over-yonder.net>
In-Reply-To: <20070317054902.GB2108@x12.dk>
References:  <000001c7680c$0a7255f0$0dd3000a@homexp> <20070317054902.GB2108@x12.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070317215114.GG96961>