What if linux forgets the user's password?
What if linux forgets the user's password? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
1. Press ESC all the time on this page when you turn it on
2. Then press the letter "E" key when entering the following interface
3. Select the second one, and then press the letter "E" key (if the choice is wrong, press esc to return to the previous interface)
4. Enter single-user mode
Enter: 1 or single, then enter enter, and then enter: B
5. Although the interface returns to the top step, the operation we have done has been saved.
6. Change the password
Enter: passwd (change the root password by default, or you can enter the passwd ordinary user name and modify the ordinary user password)
Then enter the new password.
After reading the above, have you mastered the solution of linux forgetting the user's password? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!