The method of root password reset and crack in CentOS

Source: Internet
Author: User
Tags centos

One, crack root password solution

The first is how to retrieve the root password under CentOS:

We first install a CentOS for testing:


Select the feature software to install

Installation Complete
Beginning to forget CentOS root password back, we restart the system, press ESC to enter the list of system options, and then we can see the current system information, and then we press E-key ( Note: Not a carriage return oh )
Then we Select the second item-kerneland continue to press "E"
Enter single or 1 after RHGB quiet , then return
Then return to the interface, then press b to reboot the system
After the launch, we found that direct access to the system, no need to enter the account and password
After entering, we can modify the password according to passwd root .

Two, forget the root password solution

1. Press E to edit when the kernel entry is seen on the boot
2, find Linux16 This paragraph by the end to the tail line after the UTF-8 input red arrow refers to the content (which console is in the VMware virtual machine when you use the computer to crack the password used physical machine do not add this specific situation and specific treatment) Ctrl+x save!
3, Mount root partition reset root password, SELinux service startup state solution
4, restart after the worry may need to wait for 5 minutes in this period may also have the error message to ignore it! While waiting for a miracle
To appear on the ~ (???) /~! (This is the result of what you expected)

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.