Solutions for root users in Linux operating systems that cannot be logged on

Source: Internet
Author: User

In the Linux operating system, when we use the character interface to operate, we often inadvertently encounter the root user can not log on the situation. Generally for beginners, to see this happen, is to kill, a lot of people at this time began to panic God, how to do? Re-install the system!

Linux akzent is not good to use, very troublesome! haha ~ Of course not, but you are not familiar with it! Today I'll tell you how to change the root user's password (without reloading the system) by entering single-user mode. )

The following is an example of the CentOS series operating system:


First step: Linux boot, click on the keyboard on the E can be entered into the Grub menu interface


Second step: When the Grub boot screen appears on the computer, press E again to enter the grub edit state


Step three: Move the cursor to the line beginning with kernel ( usually the second row ) and press the letter E again to edit

Move the cursor to the end, tap a space, enter a single and press ENTER, and then type the letter B, which starts the system


Fourth step: Enter passwd root to modify the root user password, after changing the input reboot restart, you can normally enter the operating system character interface!

This article is from "Juzhou Youth" blog, please be sure to keep this source http://zhengkangkang.blog.51cto.com/12015643/1851065

Solutions for root users in Linux operating systems that cannot be logged 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.