* Forgot my password - Red Hat on Alpha
@ 1998-11-13 5:00 ljubomirb
1998-11-13 5:00 ` Jacob Gladish
0 siblings, 1 reply; 4+ messages in thread
From: ljubomirb @ 1998-11-13 5:00 UTC (permalink / raw)
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?
Thanks
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Forgot my password - Red Hat on Alpha
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
0 siblings, 1 reply; 4+ messages in thread
From: Jacob Gladish @ 1998-11-13 5:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Forgot my password - Red Hat on Alpha
1998-11-13 5:00 ` Jacob Gladish
@ 1998-11-17 5:00 ` diahedrial
1998-11-22 5:00 ` David Hagood
0 siblings, 1 reply; 4+ messages in thread
From: diahedrial @ 1998-11-17 5:00 UTC (permalink / raw)
To: Jacob Gladish
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.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Forgot my password - Red Hat on Alpha
1998-11-17 5:00 ` diahedrial
@ 1998-11-22 5:00 ` David Hagood
0 siblings, 0 replies; 4+ messages in thread
From: David Hagood @ 1998-11-22 5:00 UTC (permalink / raw)
> 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.
For any linux system, the easiest way to work around this is to boot into single
user mode:
Under LILO (x86 systems), from the LILO prompt type "linux single" (or whatever you
call your boot image followed by the word single).
Under MILO (axp systems), from the MILO prompt type boot sd1:/vmlinuz.gz
root=/dev/sd2 single (filling in the appropriate locations for your kernel and root
file system.)
This will boot the system with all disks mounted, but instead of running INIT, it
will just launch bash. You then just do a passwd command and you have changed your
password. Then exit the shell, and the system will reboot. Now, remember your
password this time! ;^)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-11-22 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1998-11-22 5:00 ` David Hagood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox