Ubuntu reset root password

  
        

Press Esc when booting up to bring up the GRUB menu. Enter advanced mode.


After selecting the recovery mode (recover mode), press the ‘e’ key. <?喎�"http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHA+IDxpbWcgc3JjPQ=="http ://www.2cto.com/uploadfile/Collfiles/20140825/2014082509052724.jpg" alt="\\">

Change ro recovery nomodeset to rw single init=/bin/bash


Then press ctrl+x to enter single-user mode.

Then reset the root password, the command is passwd root.

Restart, ok.

Copyright © Windows knowledge All Rights Reserved