Give root password for maintenance(or press Control-D to continue): Login incorrect
时间: 2024-06-04 07:09:15 浏览: 320
This message is asking for the root password to access the maintenance mode in a Linux system. If you do not know the root password, you will need to reset it using a recovery mode or boot from a live CD.
To reset the root password using recovery mode, follow these steps:
1. Restart your computer and press and hold the Shift key to access the GRUB menu.
2. Select the recovery mode option and press Enter.
3. Select the root option and press Enter.
4. Type the command "passwd root" and press Enter.
5. You will be prompted to enter a new password for the root user. Enter a strong password and confirm the password when prompted.
6. Type the command "reboot" and press Enter to restart your computer.
After restarting, you should be able to access the maintenance mode using the new root password.
阅读全文