What should we do if we forget the root user name?

Source: Internet
Author: User
What should we do if we forget the root user name? -- Linux general technology-Linux technology and application information. For details, refer to the following section. We know that the root account is very important for the Linux operating system. Suppose we suddenly forget the password of the root user name. What should we do?
We know that, if the user name and password of the Microsoft operating system are forgotten, it will be difficult to handle the problem, especially if the administrator account and password are forgotten. In a Linux operating system, it is relatively simple to forget the root user password.
1. When you restart the Linux system, when the GRUB startup screen appears, use the up and down arrow keys to select the LINUX system startup item, and then press the E key.
2. At this time, the Linux Startup item will change slightly. At this point, we choose the one that we usually start the Linux system. Then press the E key.
3. At this time, the system will display a command line. We will add single in front of roroot. Then press enter to confirm. In this case, you can directly go to the command line and use the password command to change the password of the root account.
We can see that when the Linux system root account name and password are forgotten, It is very convenient to modify them. This makes it easy for forgetful people, but it also brings a lot of trouble to our Linux system management. The root account password can be changed without authorization. In this way, they can easily obtain the administrator privilege of the operating system.
Therefore, the Windows operating system is difficult to handle when the Administrator account password is forgotten, but at least it ensures the security of the operating system. Therefore, I am still more inclined to handle Windows operating systems in this regard.
Related Article

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.