Linux system password forgot not to log in how to do

Source: Internet
Author: User

First, by entering Single-user mode, modify the password and log in again.
First step:
Reboot the system and press the "ESC" key in the upper-left corner of the keyboard before entering the system to enter the following page:

Then press E to enter the edit page
Step Two:
After entering the following page, through the keyboard to select the top and bottom of the kernel line, and then press E to enter the editor, at the end of the add parameter single, so that the system boot directly into Single-user mode, and then enter the Save editor, back to the previous step of the interface, click on the keyboard on the B-boot system.

Step Three:
After reboot into Single-user mode, input passwd modify password, and then restart the system, you can use the new password login system

What are you waiting for?

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.