Re: Lost root passwd
On Sat, 10 Oct 1998, Marcus Brinkmann wrote:
> On Sat, Oct 10, 1998 at 02:09:27PM +1000, Clement wrote:
> > Hi,
> >
> > I lost the root passwd on a machine. Can someone give me a hand to
> > re-establish a new one? I lost the procedures somewhere.
>
> Boot with a boot floppy (the rescue disk). Kill the passwd form /etc/passwd
> or /etc/shadow if you have shadow on (most likely). Just remove the "trash"
> between the first and second double point ":".
Colon?
> Then reboot, your password is the empty password.
Michael Beattie (mickyb@es.co.nz)
PGP Key available, reply with "pgpkey" as subject.
-----------------------------------------------------------------------------
Curiousity may kill the cat, but a 12 gauge is quicker!
-----------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
Reply to: