LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-18-2008, 09:40 PM   #1
confulity
LQ Newbie
 
Registered: Mar 2008
Location: Philippines
Distribution: Red Hat Fedora
Posts: 8

Rep: Reputation: 0
Forgotten Password of root in Fedora 8, Cant login, need it badly :(


Hi guys,

It will be finals week on next week and I have to solve this problem before final examination. This problem occur when one of my students modified the root user on our Computer laboraty, I already tried accessing the GRUB by pressing "e" and typing single then boot, but the single command isn't recognized.

Help us guys, if I can solved this problem then I have to reinstall the majority of the systems in our laboratory, by the way using the recovery disc is not considered as option because there's no cd-rom installed on every systems.

Thanks in advance.

Magically yours,

confulity
 
Old 09-18-2008, 09:48 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Enter the capital letter "S" instead for single user mode. You may need to know the root password to log in however. Do you have the root password replicated to all of the computers in the lab? Do the other systems in the lab use public key authentication for ssh access? Do they allow root access? Did the student change the root password on all of the computers? ( Why doesn't the student give you the new root password? )

On some systems, root can't login if the password is null. If that is the case, you can cut and paste the your regular user's password hash and then reboot and use that.

Last edited by jschiwal; 09-18-2008 at 11:11 PM.
 
Old 09-18-2008, 09:53 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by jschiwal View Post
Did the student change the root password on all of computers? ( Why doesn't the student give you the new root password? )
Presumably it was malicious.

I assume you know this process http://www.linuxquestions.org/questi...ssword-668118/,

but can you boot off a USB key on systems without CD drives?
 
Old 09-18-2008, 11:18 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Quote:
Originally Posted by billymayday View Post
Presumably it was malicious.

I assume you know this process http://www.linuxquestions.org/questi...ssword-668118/,

but can you boot off a USB key on systems without CD drives?
If that is the case, a failing grade and the threat of expulsion might improve his memory. Maybe the student who did it is unknown or it was accidental. If /etc/passwd is replicated from one server to all of the machines, that could be the case.

I had once booted into windows, a rare occurrence. Someone had "borrowed" my essid for some reason (I use wpa so I hope it didn't do them any good) and I was connected to the wrong wireless router. I was surprised to find that the connection was unencrypted and quickly went about encrypting it, locking out the owner of the router! I discovered my mistake soon after and changed the key on my own router.

Mistakes happen.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgotten Login Password Ubuntu 4.10 mookie2125 Ubuntu 5 07-11-2006 03:18 AM
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


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