LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2003, 03:27 AM   #1
muz
LQ Newbie
 
Registered: Feb 2003
Posts: 1

Rep: Reputation: 0
Unhappy forgotten username and password


I installed Redhat 8 a while ago and now have forgoten my username and password and so can't get in..... My machine is dual boot with xp pro on the other.
Any help would be great..
 
Old 02-10-2003, 03:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
assuming you are booting with lilo installed, press escape at the selection screen and run "linux init 1" and you'll get intoi linux. then you can set your root password using "passwd" then reboot and you'll be able to login as root. as root you can then change anyones password, with passwd again.
 
Old 02-10-2003, 03:05 PM   #3
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124

Rep: Reputation: 15
..and assuming that you are NOT booting with lilo, AND you are afraid of modifying grub's config, use the following:
Insert RH8 cd, and on the bootup-screen that says "welcome to RedHat Linux 8.0"
type "linux rescue" <ret> . then when it has booted into rescue type
"chroot /mnt/sysimage" <ret> and change any pwd's you like.

Tih
________________________________
Never trust an OS you don't have the sources for.
LinuxReg. #303866
 
  


Reply


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
if the root password is forgotten..... AnimaSola Linux - Software 1 05-31-2005 11:12 PM
forgotten my root password, help amanjsingh Linux - Newbie 16 03-31-2004 10:41 PM
username password forgotten red hat 9 scrollcap Linux - General 1 01-10-2004 08:24 PM
forgotten password for mysql kalikoder Linux - Software 1 09-24-2003 06:11 PM
forgotten password ronss Linux - Distributions 4 04-01-2003 10:02 PM


All times are GMT -5. The time now is 08:28 PM.

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