Safe! This is a very sensitive issue. What is real security? For Linux, Windows, and other operating systems, as long as you get the host, you will be able to crack its password. Some people started to wonder: Isn't Linux more secure than Windows? Yes, this is beyond doubt. Both Microsoft and Linux provide support for verification, access control, accounting/logs, controlled access protection entities, and encryption. However, Linux performs better, because Linux also provides Linux security modules, SELinux and winbind. Linux users can add additional security mechanisms without patching the kernel. Linux builds multiple access control mechanisms on LSM. All content in linuxis saved in the form of files, and virus is also easy to spread. executable files such as .exe cannot play a role in Linux. Wait. In short, Linux is safer than Windows.
Imagine what if I forget my computer password? If only the system password is set, it is easy to crack. What if the GRUB Password is set? In this case, we need to install the CD and start from the safe mode to crack it. But if we have set a BIOS password, what should we do? You can only pull the battery or find the manufacturer. Every link is closely related. This is also like the biological chain in nature. In fact, it is a backdoor specially reserved by the manufacturer for us. Today, we will take Red Hat javasiselinux 5 as an example to introduce how to crack the system password and GRUB Password.
General process:
I. system password cracking-Single User Mode
Ii. GRUB Password cracking-Security Mode
System Password ---------- GRUB Password
|
|
Single-user security mode
I. system password cracking
General steps: ① GRUB -- e -- ② kernel /...... Select the second character on the Character interface, and the third character on the graphic interface) -- e -- ③ input character: single -- B -- ④ vi/etc/passwd ---- ⑤ Delete password sign X ), save and exit ---- ⑥ restart reboot)
Enter the startup interface and press Enter.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/201100Ob-0.jpg "style =" float: none; "title =" 11.JPG" alt = "10520.107.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011003456-1.jpg "style =" float: none; "title =" 12.JPG" alt = "105123262.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011002108-2.jpg "style =" float: none; "title =" 13.JPG" alt = "105139222.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011002053-3.jpg "style =" float: none; "title =" 14.JPG" alt = "105155161.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011001a3-4.jpg "style =" float: none; "title =" 15.JPG" alt = "105212162.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011002317-5.jpg "style =" float: none; "title =" 16.JPG" alt = "105219979.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/201100OK-6.jpg "style =" float: none; "title =" 17.JPG" alt = "105226931.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/201100O45-7.jpg "title =" 11.JPG" alt = "105536658.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011006093-8.jpg "style =" float: none; "title =" 11.JPG" alt = "110019612.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011005M2-9.jpg "title =" 12.JPG" alt = "110347484.jpg"/>
Save and quit after cutting. Restart. The following prompt appears. To enter the edit mode, use the GRUB Password and press "p" to continue.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011005960-10.jpg "title =" 13.JPG" alt = "110302712.jpg"/>
You must enter the GRUB Password to continue the operation. Enter the corresponding GRUB Password.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011001550-11.jpg "title =" 14.JPG" alt = "110452969.jpg"/>
Enter the correct password to enter the editing mode.
After GRUB encryption, you need to use the security mode to crack the password, but first you need to put the linux5.0 installation disc into the BIOS
Press F2 to set the first boot item in BIOS as the disc, save and exit
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/201100D35-12.jpg "title =" 11.JPG" alt = "111538645.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/20110061L-13.jpg "title =" 12.JPG" alt = "111731041.jpg"/>
After starting from the CD, enter the following prompt page. After boot: Enter "linux rescue". Do not enter an error. Otherwise, the installation page is displayed by default.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/201100O47-14.jpg "style =" float: none; "title =" 13.JPG" alt = "112337909.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/201100M10-15.jpg "style =" float: none; "title =" 14.JPG" alt = "2017341333.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011003c6-16.jpg "style =" float: none; "title =" 15.JPG" alt = "2017349608.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/201100A08-17.jpg "style =" float: none; "title =" 16.JPG" alt = "112401927.jpg"/>
Select "Continue" here, and do not use it as the "Skip" option during installation. The question here is whether you want to enter the security mode.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011003221-18.jpg "style =" float: none; "title =" 17.JPG" alt = "112408792.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/201100NR-19.jpg "style =" float: none; "title =" 18.JPG" alt = "112411129.jpg"/>
Vi/etc/grub. conf then you can enter the GRUB configuration file and delete the Encrypted Key.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011002323-20.jpg "style =" float: none; "title =" 19.JPG" alt = "112427898.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011006214-21.jpg "style =" float: none; "title =" 110.JPG" alt = "112442592.jpg"/>
Save and exit
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011005M5-22.jpg "title =" 11.JPG" alt = "112847279.jpg"/>
Go to the password configuration file and delete the password.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011004926-23.jpg "title =" 12.JPG" alt = "2017923544.jpg"/>
Remove X
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011002422-24.jpg "style =" float: none; "title =" 13.JPG" alt = "113031479.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/20110044U-25.jpg "style =" float: none; "title =" 14.JPG" alt = "113041677.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011006050-26.jpg "title =" 15.JPG" alt = "113135419.jpg"/>
After entering the system again, you still do not need to enter the GRUB Password and system password. The experiment is completed here and the system password and GRUB Password are successfully cracked !!
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/20110020J-27.jpg "style =" float: none; "title =" 11.JPG" alt = "113511502.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/20110022E-28.jpg "style =" float: none; "title =" 12.JPG" alt = "113517799.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/20110030a-29.jpg "style =" float: none; "title =" 13.JPG" alt = "113526343.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011005L7-30.jpg "style =" float: none; "title =" 14.JPG" alt = "113536149.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011001607-31.jpg "style =" float: none; "title =" 15.JPG" alt = "113544276.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011005226-32.jpg "style =" float: none; "title =" 16.JPG" alt = "113548951.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011004D2-33.jpg "style =" float: none; "title =" 17.JPG" alt = "113549742.jpg"/>
After 6.0, the system cracked the root password, and the root login password could not be changed like 5.0.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/20110054C-34.jpg "style =" float: none; "title =" 19.JPG" alt = "114117487.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/2011004T8-35.jpg "style =" float: none; "title =" 110.JPG" alt = "114118197.jpg"/>
Remove the root X to log on to the system without a password !!
This article from the "knowledge change life" blog, please be sure to keep this source http://panjianan.blog.51cto.com/8008349/1305065