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 to forget the root password.
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 Ubuntu. 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 forgetting to retrieve the CentOS root password. After restarting the system, Press ESC to go to the System Option List. Then we can see the current system information and press E (Note: not press Enter)
Then we select the second item-kernel, and then continue to press "E"
After rhgb quiet, press enter to enter single or 1, and then press ENTER
Press enter and return to the interface. Then press B to 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
For more information about CentOS, see the CentOS topic page http://www.linuxidc.com/topicnews.aspx? Tid = 14
For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2014-12/110427p2.htm
After entering, we can modify the password Based on passwd root.