Linux Tutorial: cracking the root password in Single User Mode

Source: Internet
Author: User

Linux Tutorial: cracking the root password in Single User Mode

OS: RHEL 6.4-64-bit

If the Linux operating system forgets the root user password and cannot access the operating system, you can change the root user password in single-user mode.

The second menu is displayed when the operating system is started.

Press any key to stop reading seconds. The GRUB menu is displayed.

Edit Kernel Parameters by letter

Add the number 1 or word single with a space on the basis of the original Parameter

Press enter to start and enter single-user mode

Use the passwd command to set the User Password

After reboot is restarted, the root user can use the new password to log on to the operating system.

This article permanently updates the link address:

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.