(1) Restart Ubuntu system, the pilot press SHIFT to enter the Grub menu, select the second advanced mode (enter)
(2) in the Advanced mode, select Recovery mode, this time to pay special attention, not enter!! Instead, the keyboard presses the "E" letter into edit mode!
(3) came to the editing mode, probably after the third line of the countdown, find "Ro recovery ..." This, the "RO", Modified to "RW" (can write mode), and then press CTRL+X to enter the system
(4) Come to a selection screen, select the line at the beginning of root! (Enter by Enter)
(5) after "[email protected] User name #", write passwd "login username" (enter) "passwd there is a space behind!" 】
(6) After you can enter a new password, enter two times (all enter the next time), and then enter "reboot" (or Ctrl+alt+delete) Restart the system, you can use the new password to login to the user!
Ubuntu forgot user Password resolution