I'm a donkey and forgot my root password. What recourse, if any, do I have to get back into root? Can I reinstall amahi and not loose information already stored?
Thanks for any help in advance!
Forgot root password
Re: Forgot root password
Hi,
boot from a Live CD. Mount your root file system. Type in a console "nano /yourmountpoint/etc/shadow"
Then you see something like that:
root:LDHSKF34534:11111:0:99999:3
Your password is LDHSKF34534. Delete this string.
After that you see.
root::11111:0:99999:3
Now your root has no password.
Umount your file system and reboot.
boot from a Live CD. Mount your root file system. Type in a console "nano /yourmountpoint/etc/shadow"
Then you see something like that:
root:LDHSKF34534:11111:0:99999:3
Your password is LDHSKF34534. Delete this string.
After that you see.
root::11111:0:99999:3
Now your root has no password.
Umount your file system and reboot.
-
- Posts: 6
- Joined: Tue Sep 07, 2010 12:50 pm
Re: Forgot root password
Thanks for the help... Just another newb question though.. My mount point, would that be something like /dev/sda?
Thanks
Mike
Thanks
Mike
Re: Forgot root password
Not sure if this is the same problem,
Just installed Fedora 14 and then amahi - no problems!! rebooted
but I can't access the HDA Setup because the login page does not recognize my user/password ??
Also, im new to linux too.
sooo what do I do from here?
Just installed Fedora 14 and then amahi - no problems!! rebooted
but I can't access the HDA Setup because the login page does not recognize my user/password ??
Also, im new to linux too.
sooo what do I do from here?
Re: Forgot root password
make sure you are using the right capitalization.
you should use the exact username you created in Fedora when installing.
for the issue of forgetting the root password, you may want to boot in single user mode and reset the password (search for that - should be a lot of quick guides on that).
you should use the exact username you created in Fedora when installing.
for the issue of forgetting the root password, you may want to boot in single user mode and reset the password (search for that - should be a lot of quick guides on that).
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
-
- Posts: 6
- Joined: Tue Sep 07, 2010 12:50 pm
Re: Forgot root password
Thanks for all your help guys. Got it figured out. Had a problem getting it to boot in single user mode as I didn't have the grub boot screen show up. The trick I found was to hit the up arrow during boot and that allowed me to access single user mode by putting a 1 at the end of the command line. After that it was as simple as changing the password and got me back on track. That saved me a huge amount of time because I was about to reinstall the whole shebang.
Thanks again,
Mikes
Thanks again,
Mikes
Re: Forgot root password
great to hear!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Who is online
Users browsing this forum: No registered users and 25 guests