Enter the RedHatLinux5 system as a single user, modify the root password, and restart the system as follows: (1) for LILO: when the system is started to a LILO boot screen, press the TAB key in Graphic Guide mode to enter the text mode. Then, enter linuxsingle in LILO to enter the password-free console. Then, run the passwd command to change the root password. (2) for GRUB: when the system is started, GRU appears
Enter the RedHat Linux 5 system as a single user, modify the root password, and restart the system. The process is as follows:
(1) For LILO: when the system starts to display the LILO boot screen, press TAB to enter the text mode for the graphic Boot Mode,
Enter linux single press enter at LILO to enter the password-free console, and then use the passwd command
Modify the root password.
(2) for GRUB: when the system is started and the GRUB boot screen appears, press the "e" key to enter the GRUB editing status. Press the keyboard
Or the next key selects the second item of the boot item, namely: "Kernel/vmlinuz-x.x.x-x ro root = LABEL = /".
After selecting the Pilot Project, press the letter "e" to go to the command line editing page. Add "Space single" or
"Space 1": The text displayed on the interface after "Space single" and "space 1" are entered is a little different,
But it also enters a single user;
Press enter to return the editing status, and then press the letter "B" to start the system as a single user. after entering the system, run the passwd command to modify it.
Root Password.
The password is successfully modified: