Reset root Password in CentOS

Source: Internet
Author: User

Reset root Password in CentOS

Retrieve the root password locally in CentOS

Speaking of system passwords, it may be the biggest headache for administrators. If there are many internal services, You need to record a lot of passwords. Of course, the possibility of forgetting the password is also not ruled out. We have already introduced how to retrieve the password in windows, in fact, the old Mao Tao tool is used to encapsulate the demand to implement windows password cracking, but it does not need to be so troublesome in linux. You only need to set it in the local boot option. What about today, we mainly introduce the two linux versions that are frequently used in daily work for root password retrieval. One is centos and the other is mongout. For details, see:

First, how to retrieve the root password in centos:

First install a centos for testing:


Select the functional software to install

Installation Complete

Start to forget the centos root password retrieval. After we restart the system, pressESC enters the system option list, then we can see the current system information, and then we press (Note: Do not press Enter)

Then weSelect option 2-kernel, and then press"E"

After rhgb quietEnterSingle or1, thenEnter

Then press enter, return to the interface, and then pressB.Reboot the system

After the startup, we found that the system was directly accessed and there was no need to enter the account and password

After entering, we canPasswd root to change 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.