Linux: The system password is forgotten and cannot be logged on

Source: Internet
Author: User

Linux: The system password is forgotten and cannot be logged on
You can change the password before logging in to the single-user mode. Step 1: restart the system. before entering the system, press the "Esc" key in the upper-left corner of the keyboard to go to the following page: Then press e to enter the editing page Step 2: after entering the following page, select the line of the kernel through the keyboard's up and down keys, then press e to enter the editing, add the parameter single at the end and end, enable the system to directly enter the single-user mode, and then press enter to save the editing, return to the interface in the previous step and click B on the keyboard to start the system. Step 3: Enter the single-user mode after restart, enter passwd to change the password, and then restart the system to log on to the system with the new password.

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.