LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2011, 02:58 PM   #1
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110
Blog Entries: 1

Rep: Reputation: 16
How to retrieve forgotten root password?


Dears,,

I installed Oracle database on Linux
I can only log in to Linux server by database user
But I forgot the root password and cannot log in by root.

Please,how to retrieve root password?
Please,help me ASAP.

Thanks & Regards,,
 
Old 03-15-2011, 03:00 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
First link on google -
http://www.cyberciti.biz/faq/linux-r...root-password/

And next time, please don't use words such as ASAP, as it usually makes members of the forum not want to help at all.

Josh
 
1 members found this post helpful.
Old 03-15-2011, 03:07 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by eng_mohammedmostafa View Post
Dears,,

I installed Oracle database on Linux I can only log in to Linux server by database user But I forgot the root password and cannot log in by root.

Please,how to retrieve root password?
Please,help me ASAP.
As corp769 pointed out, this is VERY well covered on Google, and has been answered here many times too. Did you bother to try to look this up, before asking for "ASAP" help??

And if clicking on that link is too much trouble, then boot your system from a CD/DVD, and enter rescue mode. Mount your hard drive, and then edit the /etc/shadow file, and remove the password field for the root user. Or just use the passwd command to change it.

Last edited by TB0ne; 03-15-2011 at 03:10 PM.
 
Old 03-15-2011, 03:13 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Does the given link work on none redhat based distro's?

Some sane ( ) distro's do require a (root) password when booting into single user mode (debian, sles, lfs, ....).

A live CD comes to mind in this case.
 
Old 03-15-2011, 05:13 PM   #5
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
corp769,TB0ne . . .

When i say ASAP,it means that i am sure and Confident that you will help me very soon and hope this.
Not mean to force you help me.
Anyway , thanks.
 
0 members found this post helpful.
  


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
if the root password is forgotten..... AnimaSola Linux - Software 1 05-31-2005 10:12 PM
forgotten my root password, help amanjsingh Linux - Newbie 16 03-31-2004 09:41 PM
Forgotten my root password Blondie Linux - Newbie 2 12-08-2003 11:50 AM
Root Password FORGOTTEN kajensen Linux - Newbie 4 08-11-2003 02:06 AM
Mandrake 9 : Forgotten Root Password acadcworks Linux - General 8 12-18-2002 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:30 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
Open Source Consulting | Domain Registration