LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help with lost admin password.. Nothing working (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-lost-admin-password-nothing-working-4175467121/)

trubloodfan27 06-23-2013 10:28 PM

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

validator456 06-24-2013 02:33 AM

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.

Dennis3 06-24-2013 02:33 AM

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.

a.abdulna 06-24-2013 03:37 AM

Yes, this is the answer for resetting root password.

michaelk 06-24-2013 07:17 AM

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.

trubloodfan27 06-24-2013 09:15 AM

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.

michaelk 06-24-2013 09:46 AM

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?

trubloodfan27 06-24-2013 10:00 AM

I am not able to ask him for it. It is a Dell XPS 8500.

arizonagroovejet 06-24-2013 02:35 PM

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.

trubloodfan27 06-24-2013 04:44 PM

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

Dennis3 06-24-2013 11:36 PM

Please follow the following guide to reset the password for the specified user:
http://www.howtogeek.com/howto/linux...nutes-or-less/

arizonagroovejet 06-25-2013 02:55 AM

Quote:

Originally Posted by trubloodfan27 (Post 4977823)
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.


All times are GMT -5. The time now is 11:20 PM.