Solution to centos-Root Password loss

Source: Internet
Author: User

Original Works are allowed to be reproduced. During reprinting, be sure to mark them as hyperlinks. Article
Original source, author information, and this statement. Otherwise, legal liability will be held. Centos. It has not been completed for a long time! But the root user's password is forgotten and cannot be entered! Khan... Solution: 1. restart the system. GRUB: load ProgramOn the menu, use the up and down arrow keys to select the system that you forgot the password and type "E" to enter the editing mode. 2. next, you can see the image shown in, and then use the up and down keys to select the latest kernel (the second line is here, kernel .......), then press "E ". 3. Add "space" after rhgb quiet, type "single", or directly enter "1" of the number and press enter to confirm. 4. Use passwd root to change the root password. After modification, reboot (restart.

This article is from the "sdbaby" blog, please be sure to keep this source http://sdbaby.blog.51cto.com/149645/325242

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.