In Debian/Linux, what if you forget the password? The simplest method is to enter the single-user mode. The following are the steps to enter the single-user mode: press the "boot" button, and under the system selection menu, move the cursor to Single ...... in this line, press e, edit, and select Kernel ..... in this line, press the e key to enter Debian/Linux. what if you forget the password?
The simplest method to use is to enter the single-user mode. The following are the steps to enter the single-user mode:
Press the "boot" button and move the cursor to Single under the system selection menu ...... in this line, press 'e', edit, and select "Kernel ..... "In this line, press the 'e' key. Then, enter single init =/bin/sh in the console and press enter to enter the single-user mode.
Next, mount the hard disk.
Mount-o remount, rw/
Then you can use the passwd command to change the password.
Finally, shut down and restart, and use your new password to log on.