Explain the two most commonly used password cracking centos7 forget solution
Rescue mode (recommended method)
The first step: start the system
After here, clicking on the screen, type e
Step two: Enter rd.break
In the beginning of the end of the line input rd.break linux16
The third step: ctrl + x
Enter ctrl + x run
Into the following interface
Step four: re-mount the root
Now the root is read-only, read-write mounted as required for modification
Enter the contents of the red box
Step Five: root switch
Into sh, that is your real system
Step Six: Change Password
You need to enter the password twice to confirm
That is, to see the end successfully modified successfully
Step Seven: Exit and restart
Step eight: Enter system
We can be found using the modified code into the system successfully
Work is recommended to use this method
CD-ROM set as the first boot entry, the second
A virtual machine environment
Work is not recommended
The first step: enter the bios interface
VM: Click the top left corner of the virtual machine - "Power -" to enter firmware when power is turned on
Step Two: Use the left and right keys to select the top of the boot
Hold down the shift + plus, let cd-rom first startup items
Then click F10 to save, press Enter
Step 3: Select troub .. Press Enter
Then select Enter rescue mode
Step 4: Select Input 1 continue i.e.
Do not choose 3
Step five: can be found in rescue mode has all the system files
If the system after their own accidentally deleted files can be copied here
Their true roots in the / mnt / sysimage down
Step Six: Switch to his true roots
The first step: switch to lower their roots
chroot /mnt/sysimage
Step 2: Use passwd Change Password
Enter the need to modify the password twice, enter the password is not visible
passwd root
The third step: After modifications are complete exit their roots
exit
Step four: Restart
reboot