Home >Operation and Maintenance >Linux Operation and Maintenance >What to do if you forget your password in Linux

What to do if you forget your password in Linux

angryTom
angryTomOriginal
2019-11-04 13:10:494876browse

What to do if you forget your password in Linux

What should I do if I forget my Linux password?

1. When turning on the computer, keep pressing ESC

What to do if you forget your password in Linux

2. Then enter the following interface , press the letter “E” key

What to do if you forget your password in Linux

3. Select the second one, and then press the letter “E” key (if you choose the wrong one, Press esc to return to the previous interface)

What to do if you forget your password in Linux

4. Enter single-user mode

Enter: 1 or single, Then press Enter and enter: B

What to do if you forget your password in Linux

5. Although the interface returns to the previous step, the operation we did has actually been saved

What to do if you forget your password in Linux

6. Change the password

Enter: passwd (default is to change the root password, you can also enter passwd normal User name , change the ordinary user password)

Then enter the new password

What to do if you forget your password in Linux

Recommended: " Linux usage tutorial

The above is the detailed content of What to do if you forget your password in Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn