Skip to content
Techusers

Techusers

Learn To be a Dev

  • Home
  • Guide
  • Security & Privacy
  • Tech News
  • Computer
  • Top List
  • What is
  • Engineering
  • How To
  • Tech Terms
  • Toggle search form

How to reset Kali linux root password and user password

Posted on 12/01/202213/01/2022 By Techuser

Kali Linux is one of the popular Linux distro Today It is also called as Hacking OS. If you forget both user and root passwords this tutorial is for you.

How to reset Kali Linux root password

STEP 1

Reboot Kali Linux into Advanced Option for Kali GNU/LINUX

Kali linux password reset

STEP 2

Then, select the second option recovery mode and press the “e” key and don’t hit enter button.

kali linux password forget

 

STEP 3

After that step, You will see in the image, the text “ro” in the red box and the empty red box required to have some modification as

kali linux password forget

Now, replace the text “rw” with the “ro”, and press the F10 button to save changes after adding the text init=/bin/bash at the end of the line.

kali linux password forget

STEP 4

The system will start rebooting and we got the shell to change the password. Type passwd command.

kali linux password reset

Now enter your new password. Enter the root password again to verify. Press ENTER and confirm that the password reset was successful.

How to reset Kali Linux User Password

STEP 1

Login into Kali Linux Root Account

STEP 2

Open the Terminal Window

STEP 3

Type passwd username

Replace username with your username. Now enter your new password. Enter the Username password again to verify. Press ENTER and confirm that the password reset was successful.

 

Related

How To

Post navigation

Previous Post: Netflix plans in India now starts at Rs 149/Month
Next Post: How to Block Internet Access to Specific Program in Windows 11

Recent Posts

  • Today’s Wordle Hints, Answer for #1402 on April 21
  • Today’s Wordle Hints, Answer for #1401 on April 20
  • NYT Connections Today: Hints and Answer for April 19
  • Today’s Wordle Hints, Answer for #1400 on April 19
  • Today’s NYT Strands Hints, Answers & Spangram for April 11, 2025

Copyright © 2025 Techusers.

Powered by PressBook WordPress theme