Article Title: Linux Superuser password cracking and protection through grub. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Password cracking through grub
Start the computer and enter the following interface
Select the selected option and press e.
Select the selected option and press e.
Modify the cursor below (insert single in the original sentence)
After modification, press enter, press B to enter the following interface, and enter the passwd root command, enter the new password and enter the new password again, and press enter to confirm
Restart your computer to log on with the new password.
Protection: set a password for grub
Open the terminal and enter grub
Press enter and enter md5crypt.
Press enter, enter the desired password, and press enter to get "ciphertext"
Open another terminal window
Enter cd \ boot \ grub
Edit the menu. lst file in the grub directory --> command: vi menu. lst
Input an empty line on the first title:
Passwd -- md5 ciphertext
Save the disk and exit, so that grub is encrypted
To restart the computer and try grub again to crack the superuser password, enter the password