Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Crack the startup password and single-user password of Grub system

Shulou Source: shulou.com Published: 2022-06-01 05:10:49 10月02日 Update

Crack the startup password and single-user password of Grub system

1 enter rescue mode

2 Select the default OK

3 Select the default OK

4 Select NO and do not create a network.

5 Select Continue to continue

6 Select the default OK

7 Select the default OK

Choose to turn on shell Start shell OK

9 use the df command to view partition mount information

10 use chroot / mnt/sysp_w_picpath to change to the root directory.

11 then weave grub.conf using vi

12 delete single-user or system encrypted two lines of content, you can start normally without a password and enter single-user mode without a password.

13exit exits the root directory and reboot can be restarted.

At this point, the crack is complete.

Tags: Select password single user system root mode information content commands network so far switching encryption rescue Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Linux Microsoft Docker MariaDB