CentOS6.5 solution for forgetting the root password (logincorrect is prompted when CentOS enters the password)

Source: Internet
Author: User

CentOS6.5 solution for forgetting the root password (logincorrect is prompted when CentOS enters the password)

Press the "E" key on the keyboard at startup to enter the following interface.

Select the corresponding kernel, press "E" again, and then click "E" again.

After the second step, you can edit the screen, add "space" at the end of the information, and then type "single" (), or directly enter "1" of the number and press enter to go to the next step. The figure is as follows:

The third step appears after the operation. Does it feel like the second step is back? No. Press the "B" key on the keyboard to enter the boot system. Note: Here is the "B" key.

In the following figure, enter "#", "passwd root", reset the root password, enter the password again, and then enter the password twice.

If the password is successfully reset, a prompt is displayed. Enter reboot to restart the system, and the root password is reset.

Virtual Machine download: http://pan.baidu.com/s/1dDsD1cP

CentOS 6.5 download: http://pan.baidu.com/s/1eQ52C4i

Related Article

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.