Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: diahedrial <diahedrial@hotmail.com>
To: Jacob Gladish <gladish@psc.edu>
Subject: Re: Forgot my password - Red Hat on Alpha
Date: 1998/11/17	[thread overview]
Message-ID: <3651A1FF.A04103B8@hotmail.com> (raw)
In-Reply-To: 364CB9D8.47836EC0@psc.edu

Been there, UDB with RedHat 4.2.  This is what I did:
Boot the install, (boot and root disks), tell the install that it is an 
upgrade install and follow it till it detects the harddrive partitions. 
At that point, after it had detected the root partition, I did an 
"Alt-F2" to get to a virtual terminal. If memory serves me, the root
("/")
was mounted under /tmp. "cd" to "/tmp/etc" type "../bin/vi ./passwd" and 
delete the password field for root. Save the changes, the type "sync" a 
few times so the change is written to disk.  Then type "init 0" to
reboot.
This work for me, hope it helps.
-diahedrial.

Jacob Gladish wrote:
> 
> ljubomirb@my-dejanews.com wrote:
> >
> > Does anybody know how I can log back into my system after forgeting a root
> > password? I tried using boot/root disk but the root disk brings me into this
> > installation menu which doesn't let me get to the /etc/passwd on my hd.
> >
> > Any ideas? Would a slackware root disk work?
> >
> 
>         I would imagine all you have to do is boot it with any linux kernel and
> mount the partition where your /etc/passwd is then delete the password
> field for root.



  reply	other threads:[~1998-11-17  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-13  5:00 Forgot my password - Red Hat on Alpha ljubomirb
1998-11-13  5:00 ` Jacob Gladish
1998-11-17  5:00   ` diahedrial [this message]
1998-11-22  5:00     ` David Hagood
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox