RedHatLinux5 forgot password Modification

Source: Internet
Author: User
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:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.