LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-14-2006, 02:41 PM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
reset root password


I had forgotten my root password for my Fedora Core computer.
Is there a way to reset its root password?
 
Old 09-14-2006, 02:49 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
yeah, when grub loads just hit "a" two times and append 1 to it.
then hit enter
you will have a bash prompt, in that type "passwd root" and change your password.
 
Old 09-14-2006, 03:54 PM   #3
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
reset root password [Solved]

Problem is solved by booting into single user mode from GRUB.
Then execute the "passwd" command and choose a new password for root.
Full instructions are available at
http://linux.suramya.com/tutorials/ResetPassword/
 
Old 09-15-2006, 11:48 AM   #4
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
disable reset root password

Is there a way to disable the reset root password capability of my linux PC?
Allowing this capability is a security threat.
 
Old 09-15-2006, 01:09 PM   #5
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
The grub itself can be password protected so that only auth user can reset root password.. (what happens if someone forgets grub password -> easy! use root password to reset the grub password)

http://www.redhat.com/docs/manuals/l...-boot-sec.html
 
Old 09-15-2006, 02:30 PM   #6
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
what if you forget both the passwords??
still you can change the password using rescue mode.

bottom line is, you need physcial security here.
 
  


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
Reset Root password hbenway AIX 9 08-19-2008 05:13 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 05:11 AM
reset root password kapslock Debian 14 07-27-2006 08:08 AM
root password reset question avijitp Linux - General 2 04-27-2006 11:02 AM
Reset Root password sdsouza Linux - Software 5 11-12-2003 05:50 PM

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

All times are GMT -5. The time now is 07:03 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