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"