Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 01-06-2005, 11:13 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Angry Lost Login and Password Information on an Old Computer

I'm trying to log on to an old computer in a research lab where the original login and password have long been forgotten. We've given up trying to guess what they were. Do I need to reinstall Red Hat to reset the password? Will I then need to reinstall all the software on the computer????

I'm completely stupid about LINUX, let alone Red Hat!

Ideas please??

Thank you!
Old 01-06-2005, 11:40 AM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

boot from ur linux cd
run this at the boot promt

linux rescue

after following the options

run this at the prompt

chroot /mnt/sysimage

and then
passwd root

u will be able to set new pasword for the admin "root"
which u can use after u boot ur redhat

Old 01-07-2005, 01:57 AM   #3
LQ Newbie
Registered: Apr 2003
Location: India
Distribution: Red Hat 8.0
Posts: 23

Rep: Reputation: 15
A still better option rather than looking for CDs and putting it on the tray, try passing an init value of 1 when you get the boot option in GRUB. When you get the boot option in GRUB, press e and you may get a chance to edit the GRUB command lines arguments that are passing, put an init of 1 ro root="LABEL" and you can get into single user mode. There you change your root password by passwd at the command line. Hope this will help you upto a certain extend.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lost login screeen after computer crashed sirpelidor Linux - General 2 07-12-2005 07:01 PM
Gathering computer system (linux )information in C minil Programming 2 03-09-2005 06:47 AM
How to recover a lost username / password for Solaris 7 at gui login screen noitwhiz Solaris / OpenSolaris 2 09-29-2004 01:32 PM
Loaded Linux, lost login ID and password for superuser? How can I recover? PaulK Linux - Newbie 3 08-24-2004 11:01 PM
Lost Login name/password mikeCanada Mandriva 1 07-10-2004 01:26 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration