To restore the password of the Ubuntu system in five steps, you do not need to reload the system for dozens of minutes.

Source: Internet
Author: User
I forgot to enter a string of characters and passwords when I started Ubuntu. I spent tens of minutes reinstalling the system. However, it takes a lot of time to lose a lot of the original data. Below is a good method to modify the password tag you forgot in five simple steps: Ubuntu

What if your operating system password is forgotten? What should I do if the password is not forgotten in the operating system? You don't have to hesitate to say that this kind of thing is impossible, but anything that is not afraid of 10 thousand will be afraid of it.

Let's assume that you did not care about entering a string of characters during Ubuntu installation, and forgot the user password when it was started later, or if you haven't started it for a long time, you forgot the user password or other reasons. At this time, you can first think of taking a few minutes to reinstall the system. However, it takes time to lose a lot of the original data. However, there is a way to modify the password you forgot in five simple steps when your computer starts up. is it very convenient?

1. open the computer and Press Esc immediately when "Press Esc to enter grub message" appears on the screen.

2. three options are displayed. select "recovery mode" and press enter (1 ).

3. your computer will enter the shell from startup. when a command prompt appears, enter "passwd username". here, username is your username. if you forget your username, you can enter "ls/home" to view the user name, and then enter the preceding command.

4. when a prompt appears, you can enter your new password and confirm it again.

5. enter "shutdown-r now" to restart your computer and use your new password.

In contrast, this simple method is much more convenient for reinstalling the system.

Select "recovery mode" when entering the settings"

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.