Crack the root password of Red Hat Enterprise 5
Recently, I have been using Red Hat Enterprise Linux 5.2. I think there are many differences with Red Hat Enterprise Linux 4, I will write down how to crack the password in Red Hat Enterprise Linux 5.2.
Note: I just want to write a method to make up for the password I forgot. I don't want to destroy it! 1. Like Red Hat Enterprise Linux 4, press the up/down key after the boot. The following image is decrypted: 2. press the "e" key to display the decrypted image: 3. the next step is a little different from Red Hat Enterprise Linux 4. In 4, select the second option, and in 5, select the third option. Press the "e" key on the disk. 4. the next step is similar to Step 4. Press the "e" key on the keyboard and decrypt the image as follows: 5. enter "space" and "1" at the end. 6. press the "enter" key on the keyboard and the following figure is displayed: 7. next, press the "B" key to see the following picture: (it may be slow, please be patient) 8. enter the character meeting and enter the "passwd-D root" command to delete the root password. Therefore, the password is cleared and you do not need to write the script. This is simpler. You can also delete the user's password, but do not forget to specify who it is, for example, user0, user1, user2 ............, Enter the specified user after passwd-D. Remember to enter a space! Of course, it can also be used in Red Hat Enterprise Linux 4, which is not mentioned here. Example: 9. press the press ENTER key. If the password has been cleared, the following screen is displayed: 10. since the password has been cleared, the next step is to restart, So we enter reboot, 11. then press enter to restart! 12. enter "root" in "User Name", and then press enter to go to "last session". The following figure is displayed: the password has been cracked, but it cannot be ignored, so you need to set the root password immediately!