Ubuntu 14.04 forgot user login password

Source: Internet
Author: User

1. Click on "Turn on this virtual machine" in the VMware Workstatiom, and note that entering the system from Qishi will click on the screen first to allow the mouse to switch from VM to Ubuntu boot (otherwise the GNU Grun interface may not be entered under long press shift);

2. Click on the screen and then press and hold SHIFT, the system will enter the gun Grub interface (the operation of this interface can look at the interface below the description), 1; If you go to the interface shown in Figure 2, the operation of this step fails, do not worry about trying again.

Figure 1

Figure 2

3. In the GNU GRUB interface, select the Ubuntu advanced option, enter, enter the interface shown in Figure 3, select one of the brackets is Recovery mode's system release number, I tried, figure 3, both can successfully change the password;

Figure 3

4. Wait ... Meet the interface shown in Figure 4, select the root entry, enter;

Figure 4

5. In Figure 5, enter the root password at the bottom of the input, you will switch to the root user, you need to enter this command ~# mount-o REMOUNT,RW/Enter, and then passwd user name can be changed password;

Figure 5

6. Continue to enter exit to return to Figure 6 of the interface, select Resume, enter, this time will jump out of a confirmation interface, and then enter. And then.... Quietly waiting for login interface, hahaha, I wish everyone success .

Figure 6

Ubuntu 14.04 forgot user login password

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.