What about Linux forgetting the root password?

Source: Internet
Author: User

Linux root account is the god portal of Linux, and forget the root password, it is equivalent to you have changed from God to the civilian, this huge gap can imagine, may want to regain God's general authority, is only the reinstall system? No no no, do not reinstall the system, only need a few steps, you can re-become God, now we say how to fix it (Ps: This is my study when the record written, greatly do not spray ^_^)


  1. First press the E key to enter GRUB mode when booting up

  2. Use the up and down keys to select the latest kernel (kernel ...). (PS: This is usually the beginning))

  3. Continue to press the E key, after the editing interface rhgb quiet Add a space, single (single or 1)

  4. Enter, press the B key to reboot into single user mode

  5. You can now enter the command to change the root password ^-^.


This article is from the "Darker Notes" blog, so be sure to keep this source http://liumange.blog.51cto.com/9453694/1629053

What about Linux forgetting the root 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.