tristar
2016-02-08 03:55 deepin
I presume you can't use sudo? Something like that:
sudo passwd
then your password and two times new root password, at least I do this...
sudo passwd
then your password and two times new root password, at least I do this...
Reply Like 0 View the author
Hi. I set a randomly created (for example, R8hopgF%/?) password for my root account. I could not login to my root account, but was able to change system settings on a normal account (changed my normal account's password). I proceeded to reset my root password from root terminal in grub but got a message that root had been locked out or something along these lines.
This is what helped.
1. When booting up, go down to advanced settings. Press E.
2. You will now see two kernel options. On the first one, press Enter or E, whichever works.
3. Using the arrow key, navigate to the line where it says Linux/Vm something.
In the end of the line it says ro quiet splash. Replace that with rw init=/bin/bash, then press Ctrl X.
4. You are now back at the kernel selecting menu. Now press Enter. If everything went right, you should now be at root terminal.
5. Now type passwd yourusername. You will be asked to re-enter the password. Type sync and press enter, then type reboot -f and press enter.
All done!
Here is a manual from Ubuntu: https://help.ubuntu.com/community/LostPassword
I used a Youtube video which I can't find right now but I will post the link later.
But back to the topic. What do you think caused my password to not work during login? Is it the symbols %&/)?