RedHatLinux5 forgot the root password and reset the password

Source: Internet
Author: User
Suddenly I forgot the root password of the RedHatLinux server hosted by a customer. I found the following method on the Internet to test its validity. The long-overdue root password was recovered. Step 1: restart to enter the system boot page Step 2: press E to enter Step 3: Continue press E to enter Step 4: select the kernel/vmlinuz-2.6.18-8.el5xemroroot =/dev/voGroup00rhgbquiet line press E

Suddenly I forgot the root password of the RedHat Linux server hosted by a customer. I found the following method on the Internet to test its validity. The long-overdue root password was recovered.

Step 1: restart to enter the system boot Interface

Step 2: Press E to enter

Step 3: continue to press E

Step 4: select the kernel/vmlinuz-2.6.18-8.el5xem ro root =/dev/voGroup00 rhgb quiet line and press E to enter

Step 5:

Step 6: Press B to reboot

Step 7: enter passwd at sh-3.2 # And press enter to enter

Step 8: Enter the New root password at New UNIX password:

Step 9: After the root password is successfully modified, you can see

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

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.