Forgot your password Ubuntu16.04 system how to do?

Forgot your password Ubuntu system, look for a variety of methods from the Internet, but will encounter some problems, not the real solution.

1. To modify the Ubuntu system password, the first step is to enter the GRUB interface, online there are ways to introduce how to enter, said that when turned on, press shift, or click the ESC, the beginning of time how I can not get that click , there is a way to say click on the e, I have tried, later found to be clicked at the wrong time, when you want to enter a progress bar system would click first appeared, this time is only 1-2 seconds, using the above three methods Yes, but just you need to click on when loading interface appears, after entering the interface is as follows:

2, after entering, press the down arrow to select Ubuntu advanced options, click enter into the following:


3. After entering the method after the following interface, arrow down to select recovery mode, which has two recovery mode, which can choose, remember not to click enter, enter into the interface from the Internet to find and not solve the problem, then click on the e , will enter the editing interface, as a result, the content pull down, into the penultimate line 4;


4. reciprocal recovery nomodeset fourth row, delete, and end of the line plus quiet splash rw init = / bin / bash


5, press F10 or ctrl + x after the following interface, according to some computer F10, not, with Fn + F10, this may be the following interface


6. Enter passwd user name (the user name you want to retrieve the password of the account), will let you enter the new password, and confirm your password, there will be a successful password change reminder, there is an argument last online can click shutdown shut down, but I tried not be shut down. Off with the code is not successful, you can turn off the system directly, enter the password again you can be successfully landed.


Under the # prompt, use cat / etc / shadow, take a look at a user name.

Published 36 original articles · won praise 19 · views 30000 +

Guess you like

Origin blog.csdn.net/qq_27182767/article/details/79660452