LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 01-24-2006, 03:41 PM   #1
Joe120
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Rep: Reputation: 0
i forgot my password on red hat linux


forgot my username and password, i havent played it in like a year, is there any way a can bypass the screen where i have to type in my username and password.


or is a way to reformat my system. i don't have the boot cd, or backup cd




please help
 
Old 01-24-2006, 04:05 PM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
http://www.redhat.com/docs/manuals/l...ng-single.html

once you have run this, log into a terminal and reset your root password

'passwd root'
 
Old 01-24-2006, 04:06 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
on your bootloader screen press e to edit the line you boot to, then just add a "1" to the boot options line. this will log you in instantly as root and let you changed the password via "passwd". that's assuming your using grub. i've long forgotten the lilo equivalent
 
Old 01-24-2006, 05:34 PM   #4
Joe120
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
f

when i do what it says on that website, it loads and then says sh-2.05b# you can type stuff there and i tryed passwrd and everything and i'm stuck there

please help
 
Old 01-24-2006, 06:06 PM   #5
Joe120
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
i don't know my GRUB password how do i reset the password. i'm new at this please help me
 
Old 01-25-2006, 06:39 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
that's it.. you're in. at the sh prompt run /sbin/passwd or just passwd and you will be asked to provide a new password. this IS the root password. once it's done, reboot (or run "init 3") to boot to normal multiuser Linux and log in
 
  


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
forgot root password:- Suse Linux 10.00 boxerdes Suse/Novell 1 01-18-2006 02:25 PM
Forgot root password for Redhat Enterprise linux geordzilla Linux - Newbie 6 12-20-2005 01:43 AM
i forgot my username and password, how can i open my red hat linux? josephgiselle Linux - Software 2 06-29-2004 09:21 AM
Red Hat 9 (root password) nugzie Linux - Newbie 9 02-17-2004 02:06 PM
Red hat boot password help -navairum- Linux - Security 4 09-16-2003 04:07 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration