It is depressing to forget the password of a Linux system. If you cannot enter the system and do not want to reinstall the system, is there any solution? The following describes the procedure in text format! 1. Ensure that the grub of the system is not encrypted. If it is encrypted, at least know the grub Password. 2. restart the system and go to the following interface: (if the grub Password is not set after the system is started, the system will automatically arrive at this interface. If yes, you need to enter grub to arrive at this interface.) 3. Click "e" to go to the next interface,
It is depressing to forget the password of a Linux system. If you cannot enter the system and do not want to reinstall the system, is there any solution? The following describes the procedure in text format!
1. Ensure that the grub of the system is not encrypted. If it is encrypted, at least the grub Password must be known.
2. restart the system and enter the following interface: (if the grub Password is not set after the system is started, the system will automatically arrive at this interface. If yes, you need to enter grub to arrive at this interface)
3. Click "e" to go to the next interface,
4. Select the second item and press "e" again to go to the next page.