How to reset a logon password in Kali Linux

Source: Internet
Author: User

How to reset a logon password in Kali Linux

How to reset the logon password in Kali Linux

First, start your Kali Linux system and select the recovery mode when the boot interface appears. For example:

When a page is displayed, select the second one and press the E key to enter the editing mode. For example:

After entering the editing mode, find the Code such:

Change the rowto RW and write init =/bin/bash after .gz, for example:

Press F10 or Ctrl + X to start the instance. The startup interface is shown in the following figure:

Enter the passwd command to change the password.

After modification, restart the system and use the new password to log on to Kali Linux.

This article permanently updates the link address:

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.