Linux system password and GRUB password cracking

Source: Internet
Author: User
Article Title: Linux system password and GRUB password cracking. 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.

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 Enterprise Linux 5 as an example to introduce the system password and GRUB password cracking methods.

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 the password sign (X ), save and exit ---- ⑥ reboot (restart)

Enter the startup interface and press Enter.

① Check the following prompt and press "e" to edit the command before startup. ② select the second line "kernel/vmlinux -......", Press the "e" Edit command ③ enter the character "single" in the edit box, enter the single-user mode command, and press "enter"
Follow the prompts below to start it by "B,

[1] [2] [3] [4] [5] [6] Next page

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.