How does the Linux system forget the password?

Source: Internet
Author: User

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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.