What should I do if I forget my Centos password? how can I crack my centos login password?

Source: Internet
Author: User
The password settings on the online server are complex. even if the machine developed on the intranet has a long password, the root password is sometimes forgotten. What if I forget the root password of Centos? Don't worry, follow the steps below to solve the problem easily. Solution: 1. press the space key at startup to view the Centos Directory (the default setting will be displayed after 3 seconds), and select

The password settings on the online server are complex. even if the machine developed on the intranet has a long password, the root password is sometimes forgotten. What if I forget the root password of Centos? Don't worry, follow the steps below to solve the problem easily.

Solution:

1. press the space key at startup to view the Centos Directory (the default setting will be displayed after 3 seconds). use the up/down key to select the kernel you want to enter, then press the "E" key on the disk to go to the screen shown. Although there is only one Centos boot in the figure, if you have upgraded the system or installed XEN, multiple Centos boot entries will be displayed.

2. click "E" to go to the following screen.

3. as shown in, we select the second and longest one. Then press "E" to enter the editing screen. Delete the following LADBEL =/and enter the number "1", "single", or "S. Press enter to go to the next step.

4. go to the following screen and press "B" to start the system.

5. after entering the single user interface shown in the figure

Help
1 # Passwd root

Reset the root password and enter it again, that is, reset the root password. You can enter reboot to restart the computer. The root password is updated.

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.