This is the 14th day of my participation in the August More Text Challenge
If you forget the root password and cannot log in to the system, there are two ways to change the root password.
The first option is to enter single-user mode and directly change the root password, provided that GRUB does not have a password. Second: Use the installation CD-ROM to start the system and enter the rescue mode to change the root password.