Single-User mode

Source: Internet
Author: User

It is similar to the security mode of Windows, you can go into this mode to do some operations, it is in this mode just start some very critical services, many services it is not started, the most common one usage in single-user mode to change the root password, if the grub password is not set.


How to enter single-user mode:

Reboot the system and press any key within 3 seconds to enter this interface

650) this.width=650; "src=" Http://note.youdao.com/yws/res/237/WEBRESOURCE2908ff54b96173ec8a6808944dac6a44 "alt=" Webresource2908ff54b96173ec8a6808944dac6 "/>

Next press E, use the arrow keys to select the 2nd, and then press E to edit,

650) this.width=650; "src=" http://note.youdao.com/yws/res/244/WEBRESOURCE569655b00972528f960b917047670045 "alt=" webresource569655b00972528f960b917047670 "/>

At the end of that line add 1 or single or S or S, and finally enter

650) this.width=650; "src=" Http://note.youdao.com/yws/res/246/WEBRESOURCE0f4b144dcb4be1cfd8df67f1cb38bea8 "alt=" webresource0f4b144dcb4be1cfd8df67f1cb38b "/>

Then press B, that is, start without entering the user name password

650) this.width=650; "src=" http://note.youdao.com/yws/res/250/WEBRESOURCE141866c4c5bf4e57a9c9ffeb67afad9a "alt=" Webresource141866c4c5bf4e57a9c9ffeb67afa "/>

In this mode you can use the passwd command to change the password (if previously forgotten), set the new password, and then restart

650) this.width=650; "src=" http://note.youdao.com/yws/res/254/WEBRESOURCEd0b2883eb80e0f7f95359f09f4ea644c "alt=" Webresourced0b2883eb80e0f7f95359f09f4ea6 "/>

After restarting, you can enter your username and password

650) this.width=650; "src=" Http://note.youdao.com/yws/res/258/WEBRESOURCE24090d76169eef9889888a5a348241ec "alt=" webresource24090d76169eef9889888a5a34824 "/>


This article from the "Linux" blog, reproduced please contact the author!

Single-User mode

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.