Linux: The system password is forgotten and cannot be logged on
You can change the password before logging in to the single-user mode. Step 1: restart the system. before entering the system, press the "Esc" key in the upper-left corner of the keyboard to go to the following page: Then press e to enter the editing page Step 2: after entering the following page, select the line of the kernel through the keyboard's up and down keys, then press e to enter the editing, add the parameter single at the end and end, enable the system to directly enter the single-user mode, and then press enter to save the editing, return to the interface in the previous step and click B on the keyboard to start the system. Step 3: Enter the single-user mode after restart, enter passwd to change the password, and then restart the system to log on to the system with the new password.