CentosGrub system encryption, password cracking, repair tutorial

Source: Internet
Author: User
The Root password is missing! Okay, now we have cracked the previous password, and the friends on the sidelines must be excited again. What is so exciting? linux servers are in the IDC, unless you move them apart, what else can you do outside the IDC? 1. First, press any key to enter the grub interface when you restart the system.

RootForgot password!

Okay, now we have cracked the previous password, and the friends on the sidelines must be excited again. What's so exciting about linux?If the server is in another IDC, what else can you do outside the IDC unless you move it?

1. First, press any key to enter grub when you restart the system.Interface













 

Encrypt Grub

The Ancients passed through the cloud: the magic of the sky is soaring. now we are here. let's also talk about how to encrypt grub for us, so that no one can say that our password is cracked.So easy!

 

I,TitlePrevious password










 

This encryption only occurs when the user wants to access grub.You are prompted to enter the password on the interface, but you can access the system normally. Is there any encryption that will not be seen during system startup or login?

Hey ......

Of course .....

II,TitlePassword

 






III,Set invisible passwords to improve system security







Note:Grub-md5-cryptAndMD5Encryption is not the same concept

Grub-md5-cryptDifferent passwords are generated each time.

All resolutionsPassword -- md5 xx

 

Grub repair

 

EnterGrubInterface but no menu, only oneGrub>Prompt, solution:

 

Linux repair mode

Solution process

1.Put the installation CD in the optical drive, and then restart the computerBiosSet the system to the first boot of the optical drive.

2.After the installation interface is displayed, press[F5]EnterLinux rescueMode description, and thenBootEnter at the promptLinux rescue









3.Press enter to enter repair mode.

4,Previous systemsSystemPlaced/Mnt/sysimageLower

5,We need to enter/Mnt/sysimage/rootLower

6,Chroot/mnt/sysimage


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.