LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2013, 11:28 PM   #1
trubloodfan27
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Rep: Reputation: Disabled
Need help with lost admin password.. Nothing working


I just now got a new computer today from a friend. I have researched all the posts on Google to try to find out how to reset the root password since I do not know it and cannot get ahold of him. Tried remounting, tells me it cannot find it. Tried going through the recovery menu, of course I get the error since it is in read-only. When I tried to go through the fdisk to get it into read-only, it said something about checked etc clean blocks and then sits there. I do not know what to do at this point. Any help would be appreciated
 
Old 06-24-2013, 03:33 AM   #2
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 135

Rep: Reputation: Disabled
Well, that is easy. You acquire or burn a Live-cd and try to run your computer from there. And wait for your friend to show up to give you the rootpassword.
 
Old 06-24-2013, 03:33 AM   #3
Dennis3
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Rep: Reputation: Disabled
If you do not know your root password you can reset it by going into rescue mode:
1. Reboot your computer.
2. When the boot loader starts, interrupt it and press 'e' on the specific kernel.
3. Press 'e' once more on a line that starts with kernel.
4. Add 1 at the end of the line, press Enter and then 'b'.
5. Assuming you have CentOS/Redhat, type setenforce 0 and then passwd to change the root's password.

Let us know if you succeeded or not.

Dennis.
 
Old 06-24-2013, 04:37 AM   #4
a.abdulna
Member
 
Registered: Feb 2013
Location: Bangalore
Distribution: Rhel
Posts: 86

Rep: Reputation: Disabled
Yes, this is the answer for resetting root password.
 
Old 06-24-2013, 08:17 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,938

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Welcome to LinuxQuestions. Do you know what distribution is running on the computer?

If running Ubuntu by default it does not have a root password.
 
Old 06-24-2013, 10:15 AM   #6
trubloodfan27
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am running Ubuntu with Grub from what I understand. There is a root password on it because I was trying to change the boot sequence to where I could boot it from disk because I do not understand Ubuntu. When I went into the BIOS to boot from disk it told me I needed an admin password to change it.
 
Old 06-24-2013, 10:46 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,938

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
A BIOS password is independent of the operating system and unrelated to the root password.

Please post the make/model of your computer. Can you ask your friend for the password?
 
Old 06-24-2013, 11:00 AM   #8
trubloodfan27
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am not able to ask him for it. It is a Dell XPS 8500.
 
Old 06-24-2013, 03:35 PM   #9
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
If a friend gives you a computer with Linux already on it, why don't you simply ask them what the root password is? (Oh, sorry, because you're not able to. OK...)

If the machine has a BIOS password that you can't get past there will probably be a jumper on the motherboard that allows you to reset the BIOS back to factory defaults.

I say forget about trying to reset the root password. Just get in to the BIOS and then install your own operating system.

Last edited by arizonagroovejet; 06-24-2013 at 03:35 PM. Reason: "(Oh, sorry, because you're not able to. OK...)"
 
Old 06-24-2013, 05:44 PM   #10
trubloodfan27
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I can't get into the BIOS because it tells me I need an admin password and their user password isn't working although they were the only user on the system
 
Old 06-25-2013, 12:36 AM   #11
Dennis3
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Rep: Reputation: Disabled
Please follow the following guide to reset the password for the specified user:
http://www.howtogeek.com/howto/linux...nutes-or-less/
 
Old 06-25-2013, 03:55 AM   #12
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by trubloodfan27 View Post
I can't get into the BIOS because it tells me I need an admin password and their user password isn't working although they were the only user on the system
This makes it sound to me like you are saying the password which your friend used to log in to the computer is not working to get in to the BIOS. Is that right? If so that is to be expected. As michaelk stated earlier "A BIOS password is independent of the operating system"

Like I said, look for a jumper on the motherboard.
 
  


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
Lost Nagios admin password... HELP!!! scubaman99 Linux - Software 2 01-06-2009 05:02 PM
Lost Admin Password ntm333 Linux - Server 1 10-21-2008 06:15 AM
lost ldap admin password irvken Linux - Software 1 12-20-2007 03:03 AM
Lost an admin password and the install cds for OS X jason.rohde General 2 11-27-2006 03:12 PM
Recovering Lost Admin. Password Mr Neroazzurri Linux - Security 4 03-14-2003 06:26 PM


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