Mongout cannot modify the root password in system recovery mode.
Some days ago, the cat's ubuntu 14.10 seemed to have a problem. I wanted to change the root password, but the original system was wrong. Normally, I could not change the password. Is this the rhythm that forces me to reinstall it?
After ubuntu is started, immediately press left_shift to bring up the grub menu. The grub menu is hidden by default because I have not installed a dual system. Select "advanced options"> xxx (recovery mode)> root. Login, you still need the root password to enter the recovery mode console! Then ctl + d, restart the system again, enter the xxx (recovery mode) Main Interface (do not press enter, just select its row), press e to enter the editing mode:
Press the downward arrow key, find a row containing recovery, and change recovery nomodeset to single init =/bin/bash. After modification, press the F10 key to immediately reboot to shell. We can find that the current identity is root, but we do not need to enter the password!
The next step is to change the password. It's easy. Use passwd! Failed. What's wrong! <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20141110/20141110091517102.png" align = "middle" alt = "\">
The mount command shows that the permission for the/partition is ro. How can this problem be solved?
Okay. Change it to rw again:
Now try again passwd, And the success is:
In fact, in the previous grub modification step, you can also first modify: rw single init =/bin/bash, so you don't need to change it later!