LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-16-2004, 04:23 AM   #1
hariiyer
Member
 
Registered: May 2004
Location: india
Posts: 103

Rep: Reputation: 15
root password


Dear Friends,


I am using RH9. How do i retrive my root password. I forgot my password. Please guide my how to retrieve. I am using Grub with dual booting.


regards
hari
 
Old 11-16-2004, 04:55 AM   #2
Geronimo
Member
 
Registered: Aug 2004
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Hi there,

I can't remember how RH's grub config was, but try this...

start your PC, and when grub show up, select the line you ususally use to boot linux. then, instead of hitting <enter> to boot, hit <e> (for edit), select the line starting with kernel, and hit <e> again. append "single" (without quotation marks) to that line. then hit <enter> and <b> (for boot) and your linux should start without any question into the single-user-mode with full root rights! Use passwd to reset your root password, type exit to start normally.

Greets
G
 
Old 11-16-2004, 09:18 AM   #3
cambie
Member
 
Registered: Jul 2004
Posts: 90

Rep: Reputation: 15
single may work, but i know for sure a capital S at the end of the kernel line will boot you into single user mode. Then use passwd as normal. No way to retrieve it though.
 
  


Reply



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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
root password amer_58 Linux - Newbie 6 08-20-2005 02:41 PM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM
root / SU password Stephanie Linux - General 9 09-04-2002 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:39 AM.

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
Open Source Consulting | Domain Registration