DebianLinux system enters single user
Debian linux system enters single user
First, restart the system to enter the kernel selection boot interface.
Then press e
Enter the kernel startup editing interface
Then select find / boot startup file point
Change ro to rw and add init=/bin/bash
Then Ann ctrl+x starts to enter a single user.
Then change the root password or change the host configuration file
If you find that the modified file is read-only, you can try to perform fame and fortune.
Mount-o remount,rw / remount test for a pair of roots