Kali Linux forgot root password reset method

Source: Internet
Author: User
Tags kali linux

There is a time useless Kali Linux, plus recently installed system has more, system root password forget, really trouble ah. Some of the methods I saw on the internet did not go in after trying, probably because different Linux is not the same.

If you forget the password and re-install the system, I think this is too hard to force it, the developer certainly final touches, it is necessary.

Actually, it's just a few orders.

1. In the boot interface Press E to enter edit mode after the relevant kernel column is added: Init=/bin/bash

2. After starting mount-no REMOUNT,RW/

3. passwd Root

4.id//view some information; I think there should be no need.

5.sync//The Sync command was not run before reboot, causing changes to the system files and not working properly

6.mount-no Remount-ro

7.reboot//I reboot failed, forced shutdown, but still entered the Kali Linux. haha

End.

Kali Linux forgot root password reset method

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.