I installed Deft earlier today, and when i first came to login, i did not want to login as the user i created during setup, i wanted to be Root.
So i selected "Other" from the menu, typed in "root" and typed in the root password for Deft which is "deft".
Error, Password Not Correct.
Oh...
Some Googling around ensued and confirmed that the root password should be "deft".
Okay, well something must have f'ed up somewhere!
So i thought, ahh, ill just change the password!
I have never done this before in Linux, only ever on Windows which takes about 2 seconds. (God bless Hirens Boot Disc).
So i had a quick Google and found a solution. Again, this post is mainly for me to remember the commands.
This solution works with Grub 2.
From here: http://fedoraproject.org/wiki/How_to_reset_a_root_password
At the Grub boot menu, press "e" on the one you want to change.
Side note here, my Grub menu didnt automatically appear, but i found out that if you hold down SHIFT when booting, it forces the boot menu to appear.
Find the line that starts with "linux" or "linux16".
At the end of the line, type "rw init=/bin/bash"
Press CTRL+X to reboot into that editing command.
You will come to a terminal screen.
Type "passwd"
It will prompt for a password, and again.
Reboot. All Done :)
No comments:
Post a Comment