The CentOS 6.4 system encrypts and decrypts the root user, partition, and grub.

Source: Internet
Author: User

The CentOS 6.4 system encrypts and decrypts the root user, partition, and grub.

1. encrypt the root user

[Root @ localhost ~] # Passwd -- encrypt the current user
Changing password for user root.
New password:
Bad password: it is based on a dictionary word
Bad password: is too simple
Retype new password:
Passwd: all authentication tokens updated successfully.
[Root @ localhost ~] #

2. crack the password of the root user

(1) restart the system.

(2) Go to the guided editing mode, and select highlight and press the e key.

(3) Select the boot menu and press e.

(4) Enter 1 at the end to enter single-user mode, and press ENTER

(5) press the B key to restart

(6) After the system restarts, enter the password file and change the password.

(7) view the ciphertext of the root user

(8) Delete the ciphertext of the root user and save and exit

(9) Enter reboot to restart the system.

(10) log on to the system. The root user password is blank.

Grub and mbr during Linux boot

Installation and Use of grub

Grub Bootstrap Configuration File Analysis

CentOS 6.4 grub and password

Dual-drive dual-Win8 and Ubuntu repair Grub

  • 1
  • 2
  • 3
  • Next Page

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.