Ubuntu forgot user Password resolution

Source: Internet
Author: User

(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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.