When we do Linux, most of the server, the server has a very important thing, such as the personal information of a company's employees, so, this server password is particularly important, for example, a maintenance personnel to the server password set is particularly complex, one day, he forgot, how to solve it?
One: Open Linux and press the ESC key in 3 seconds, in order not to let him enter the system, but to stop at the boot interface, into the following view
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/A5/1E/wKioL1m38xLT6KHyAAA3srBQCiI000.png-wh_500x0-wm_ 3-wmp_4-s_1320863587.png "title=" 1.png "alt=" Wkiol1m38xlt6khyaaa3srbqcii000.png-wh_50 "/>
After that, press E to edit it and then go to another interface
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/06/6D/wKiom1m3807BbLwUAABEKpCGQLw453.png-wh_500x0-wm_ 3-wmp_4-s_2660021723.png "title=" 2.png "alt=" Wkiom1m3807bblwuaabekpcgqlw453.png-wh_50 "/>
Then move the cursor to the second line, edit it with E, and then go to another view
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/A5/1E/wKioL1m380CBNzYDAAAzg2hGIto310.png-wh_500x0-wm_ 3-wmp_4-s_1295852894.png "title=" 3.png "alt=" Wkiol1m380cbnzydaaazg2hgito310.png-wh_50 "/>
As shown, after entering this view, add a 1 behind the RO, note that 1 must be separated by a space before and after
Then press Enter and press B to start, then go to the next view
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/06/6D/wKiom1m383vwUx3tAAAv9VCtl1g930.png-wh_500x0-wm_ 3-wmp_4-s_4137110970.png "title=" 4.png "alt=" Wkiom1m383vwux3taaav9vctl1g930.png-wh_50 "/>
As shown, enter passwd carriage return, enter the password you want to enter in the position you want to win, enter it 2 times, and then enter reboot reboot to re-enter the system.
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/06/6D/wKiom1m384mgQEWTAAAmy06by3s452.png-wh_500x0-wm_ 3-wmp_4-s_787829245.png "title=" 5.png "alt=" Wkiom1m384mgqewtaaamy06by3s452.png-wh_50 "/>
The password is successfully modified as shown.
This article is from the "Costin" blog, make sure to keep this source http://brighttime.blog.51cto.com/12837169/1964780
Linux forgot password How to solve (1)