Linux: System password forgot, login not on

Source: Internet
Author: User

You can change the password before logging in by entering single user mode.

The first step:

Restart the system, before entering the system by pressing the "ESC" key in the upper left corner of the keyboard, will enter the following page:

Then press E to enter the edit page

Step Two:

Enter the following page, through the keyboard's upper and lower arrow keys to select kernel that line, and then press E to enter the edit, at the end of the add parameter single, so that the system boot directly into one-user mode, and then enter the save edit, back to the previous step of the interface, click on the keyboard B is the boot system.

Step Three:

After restarting into single user mode, enter passwd to change the password, and then restart the system, you can log in with the new password system

Linux: System password forgot, login not on

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.