Just like many Linux beginners, when we set the boarding code and accidentally forgot, what do we do?
Don't worry, restart the system at this time
In the restart that default five seconds countdown enters the system by pressing any key (we can press the arrow key on the top key ↑)
This will appear
650) this.width=650; "style=" Float:none; "title=" Picture 1.png "src=" http://s3.51cto.com/wyfs02/M00/53/83/ Wkiol1rpsfcdztibaagdrbupdq0264.jpg "alt=" Wkiol1rpsfcdztibaagdrbupdq0264.jpg "/>
We'll click on the e key on the keyboard to edit it.
650) this.width=650; "style=" Float:none; "title=" Picture 2.png "src=" http://s3.51cto.com/wyfs02/M00/53/85/ Wkiom1rpr9ysmgkxaadvcfighg8999.jpg "alt=" Wkiom1rpr9ysmgkxaadvcfighg8999.jpg "/>
We're behind quiet. Click the space and enter the number 1.
And then we click ESC and we click the B-Letter on the keyboard.
At this point, we'll go to the following interface
650) this.width=650; "style=" Float:none; "title=" Picture 3.png "src=" http://s3.51cto.com/wyfs02/M01/53/83/ Wkiol1rpsfdgvewzaabtw29qil0754.jpg "alt=" Wkiol1rpsfdgvewzaabtw29qil0754.jpg "/>
At this time the input passwd no user by default is to modify the root password
Follow the prompts two times to enter the password
Password modified successfully we entered Init 3 into level 3 full multi-user mode
650) this.width=650; "title=" Picture 4.png "src=" http://s3.51cto.com/wyfs02/M02/53/83/ Wkiol1rpswwaru-oaad6iyivali915.jpg "alt=" Wkiol1rpswwaru-oaad6iyivali915.jpg "/>
It's time to enter ~ ~
650) this.width=650; "title=" Picture 5.png "src=" http://s3.51cto.com/wyfs02/M01/53/85/ Wkiom1rpsfnjfyp4aabr646dhps988.jpg "alt=" Wkiom1rpsfnjfyp4aabr646dhps988.jpg "/>
We can enter the user name, password
650) this.width=650; "title=" Picture 6.png "src=" http://s3.51cto.com/wyfs02/M00/53/83/ Wkiol1rpsvbbkmvaaacb-y8v3gk969.jpg "alt=" Wkiol1rpsvbbkmvaaacb-y8v3gk969.jpg "/>
This is the time to get into the graphical interface ~ ~
650) this.width=650; "title=" Picture 7.png "src=" http://s3.51cto.com/wyfs02/M01/53/85/wKiom1RpstGRxG1eAAHOh4_ Mhdw561.jpg "alt=" Wkiom1rpstgrxg1eaahoh4_mhdw561.jpg "/>
Thank you, ~~.
This article is from the "Linux Manually add users" blog, so be sure to keep this source http://9399369.blog.51cto.com/9389369/1577567
How does the Linux system forget the password?