How to modify the root password when you forget the root password of centos.

Source: Internet
Author: User

Note: This method can only be performed on the console, but not remotely.

The premise of entering the single-user mode is that the system boot loader works properly. The following uses GRUB as an example to describe the access method. There are three operation buttons "A", "E", and "C" in the grub boot menu. You can use these buttons to enter the single-user mode.

 

Method 1 use the "A" button to enter single-user mode ------ recommended: simple operation

This is the fastest way to enter the single-user mode. InUse the "A" operation button in the grub Startup menu to edit the Kernel Parameter and enter single at the end of the line to inform the Linux kernel that the subsequent startup process needs to enter single user mode. Press enter..

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.