Ubuntu forgets the Administrator Password

Source: Internet
Author: User

I accidentally forgot the administrator password in Ubuntu, which is really big.

A solution is provided:

1. Restart the Ubuntu system and Press ESC to enter the GRUB menu interface, for example:

 

2. Select recovery mode. (second) and press enter to enter the. Recover menu, for example:

Note:Many blogs are written like this:Select recovery mode. (second) Press e to edit the startup parameters, change the RO single to RW single init =/bin/bash, and press Enter.

However, I do not see strings such as RO single.

 

3. Select root and press Enter. The root terminal will appear below:

 

4. However, when the password of the wangqh account is changed, the following error occurs: authentication token manipulation error.

5. If this error occurs, enter:

[Email protected]: ~ # Mount-No remount, RW/

[Email protected]: ~ # Mount-

Then modify the user name. Restart OK.

 

 

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.