Scroll To Top

How to Reset Lost Password of Kali Linux?

Posted in Linux, Security6 months ago • Written by Shais48 Comments

How to Reset lost Password of Kali Linux just in one minute? Kali, the Linux based Operating System and Swiss army knife of hackers which mostly used for penetration testing nowadays. This article may be important for penetration tester or those who are using Kali Linux for daily activity, such as ethical hacking, penetration testing, or students of information security fields.

How to Reset Lost Password of Kali Linux 2.x?

In this post, I will simply show you how to reset forgotten password of Kali Linux and hope it help you reset the lost password of Kali Linux easily. I have simply explained in the bellow step by step article or watch the video tutorial at the end of this post if you don’t like reading. So follow the Kali Linux 2.0 password reset article.

1. Boot your Kali system and let the GNU Grub page will appear.

Advanced options for Kali GNU Linux

Advanced options for Kali GNU Linux

2. On the GNU GRUB page selects the *Advanced options for Kali GNU/Linux option by down arrow key and press enter.

3. Now simply select the second one Recovery mode option and press E key to go to recovery mode of Kali Linux.

Kali Linux v2 Reset Lost Password

Kali Linux v2 Reset Lost Password

4. To modify it just change read-only mode (ro) to rw (write mode) and add init=/bin/bash like below screenshot then press F10 to reboot the Kali Linux.

Kali Linux v2 GNU GRUB Recovery page

Kali Linux v2 GNU GRUB Recovery page

5. After rebooting the Kali Linux system, it will bring you the bellow screen to reset Kali Linux password.

Reset Lost Password of Kali Linux

Reset Lost Password of Kali Linux

6. To reset root password of Kali Linux system, simply type “passwd root” and hit the enter. Then type the new password twice for the root user. After successfully resetting Kali Linux lost password, you will see the succeed message*password update successfully*. Well reboot the system normally and log in with a newly changed password of root user.

Reset Kali Linux Lost Password – Video Tutorial

If you don’t like to read the text, watch this video that shows you how to reset forgotten password of Kali Linux just in two minutes.

Finally, I hope you can easily and simply reset Kali Linux lost password on your system. If you have any issue, please comment us through the comment section. We are trying to help you more in order to learn Kali Linux or reset root password.

Related Questions:

Reset root password Kali Linux
Forgot Kali Linux Password
Kali Linux Change Root Password
Kali Linux Root Password Recovery

TAGS: , , ,
About this Author

I’m a network and Information Security instructor. Here is my online pictorial notebook. I would like to write and share my experience through this website for computer enthusiasts and technology geeks.

Like us on Facebook
on Facebook

Follow me on Twitter
Follow @technigs on Twitter
Add me on Google+
on Google+

48 Comments so far. Feel free to join this conversation.

  1. MukhtarNovember 18, 2014 at 9:30 am - Reply

    It was Nice & helpful !!!

    Thanks Dear Shais

    • Shais
      ShaisNovember 18, 2014 at 9:56 am - Reply

      Your welcome

  2. Arpit AroraJuly 1, 2015 at 4:09 pm - Reply

    thanks its helpful in my way. thanku so much

  3. DylanSeptember 13, 2015 at 11:44 pm - Reply

    I’ve tried this and I still can’t log in!!!!
    Anyone know how to fix this?

    • Shais
      ShaisSeptember 16, 2015 at 10:46 pm - Reply

      Hi Dylan.
      This works fine! How couldn’t you reset the password? Once do it again carefully.

  4. SteveOctober 12, 2015 at 11:40 pm - Reply

    How do you restart after changing password?

    • Shais
      ShaisOctober 13, 2015 at 7:18 am - Reply

      Hi Steve,
      Type Exit command or system reset button.

  5. Shais
    ShaisOctober 30, 2015 at 11:48 am - Reply

    Post updated for Kali Linux v2x. It work a bit different but not changed more.

  6. Abdul KabirJanuary 20, 2016 at 3:15 pm - Reply

    Thank you so much, it helped a lot, nicely explained too.

  7. Htet WaiApril 27, 2016 at 9:28 pm - Reply

    I know root password but when i unlock linux ,that doesnt eork anymore!! I have tried many times but still not working..Can you solve this problem, dude?

    • Shais
      ShaisApril 27, 2016 at 10:13 pm - Reply

      Did you attempt with root user? Once try with different user.

  8. NoidMay 4, 2016 at 9:56 am - Reply

    Thanks for the great tutorial; saved me so much time!

  9. RazMay 11, 2016 at 10:45 pm - Reply

    Thanks, but this fix has run its course, does not work w newer kali-rolling kernel 4.5

    • Shais
      ShaisMay 12, 2016 at 11:09 am - Reply

      Thanks Raz,
      We will update this post as soon as possible.

  10. powerscapeJune 12, 2016 at 8:15 am - Reply

    Thank you very much. I forget my password. I lost all my hope to login it until I find your solution. It works. I can login again in my Kali Linux 2016.1 (64bit).vmx

  11. amirJuly 23, 2016 at 2:00 am - Reply

    i can’t typing in ‘Enter new UNIX password:’

    • Shais
      ShaisJuly 23, 2016 at 12:52 pm - Reply

      Hi Amir,

      Why you can’t type? Do you have keyboard issue?

  12. rohanJuly 24, 2016 at 9:10 pm - Reply

    The line of command that u edit at first in the in recovery mode doesnt appear in my mode what to do

    • Shais
      ShaisJuly 24, 2016 at 9:27 pm - Reply

      Hi Rohan,

      What version of Kali Linux are you using?

  13. mukesh kumarJuly 26, 2016 at 8:44 pm - Reply

    shais i m using kali linux 2.0 i386 and not able to reset my password with the same trick

  14. balochAugust 2, 2016 at 11:07 am - Reply

    Thanks a lot. it worked for me.

  15. LawlezAugust 8, 2016 at 9:43 am - Reply

    For me it doesnt work, i folow all the steps but when i try to start shell in recovery it hangs. So i cannot enter “passwd root”.

    bash: cannot set terminal process group (-1): Inappropriate ioctl for device
    bash: no job control in this shell

    Any idea what to do?

  16. StevenAugust 21, 2016 at 11:42 am - Reply

    I am having the same problem, I have no keyboard issues and after it stops asking for a UNIX password I can type

    • Shais
      ShaisAugust 21, 2016 at 4:26 pm - Reply

      Your keyboard is not recognized by Kali Linux. Please once test another keyboard.

  17. MarkSeptember 20, 2016 at 6:47 am - Reply

    I have done exactly the same as illustrated
    root@(none)/# [ 97.722287] random : Non-blocking pool is initialized –> it just seats there and then I have to press enter to drop me into:


    but when I type in passwd root –> it doesn’t prompt me for anything – Is there any other better way of getting past this? can I hook up a Kali Lunux LiveCD and then do all this steps, do you guys think it would work??

  18. AndySeptember 24, 2016 at 5:41 pm - Reply

    While typing in the password it won’t show up on the prompt.(this is how the systems operates) it will ask to retype a 2nd to confirm the password. So just type normally and u will be sorted out.

  19. cern07October 18, 2016 at 8:51 pm - Reply

    I am having the same problem, I have no keyboard issues and after it stops asking for a UNIX password I can type

  20. Fraser BrownNovember 9, 2016 at 3:03 am - Reply

    i tried resetting but doesnt work

    • Shais
      ShaisNovember 9, 2016 at 7:37 am - Reply

      What is the issue when you applying this article?

  21. tsmaniNovember 14, 2016 at 5:51 pm - Reply

    thanks a lot

  22. RaazJanuary 1, 2017 at 10:29 pm - Reply

    The grub menu doesn’t appear on kali 2016.2. Is there another fix?

  23. Abdul NasirJanuary 10, 2017 at 8:43 pm - Reply

    Not working with me? help plz

  24. virajJanuary 12, 2017 at 8:17 pm - Reply

    i got the keyboard issue , what should i do . my keyboard is working fine.. please help me

    • Shais
      ShaisJanuary 12, 2017 at 9:31 pm - Reply

      Is it a physical or virtual machine? Once test another keyboard.

  25. AsifJanuary 12, 2017 at 10:06 pm - Reply

    pwd changed successfuly but unable to login:( plz help!

    • Shais
      ShaisJanuary 12, 2017 at 11:46 pm - Reply

      What is the error title?

  26. Waqar AliApril 21, 2017 at 1:53 pm - Reply

    Very helpful.

  27. ZayMay 10, 2017 at 9:19 am - Reply

    when i start laptop it appears *KALI GNU LINUX and *Advanced option for kali GNU/Linux but i cant go to window desktop…how to go to window desktop?

    • Shais
      ShaisMay 10, 2017 at 12:16 pm - Reply

      Hi Zay,

      First install Windows 10 and then install Kali Linux.

  28. devMay 20, 2017 at 7:55 am - Reply

    hey that was of great help but I need one more help Ive duel booted kali with win 7 now I want to remove kali and set win bootmgmr as default. please email me if you can help

  29. ThureinJune 2, 2017 at 6:26 pm - Reply

    I can’t do me

    • Shais
      ShaisJune 2, 2017 at 8:57 pm - Reply

      What is the problem Thurein?

  30. ThureinJune 3, 2017 at 11:05 am - Reply

    I Can’t do it. Help me

  31. mohillicJune 8, 2017 at 6:18 pm - Reply

    very helpful, thank you for this tutorial. and in the comments, the keyboard not recognized (not typing)… yes that happened to me too and I changed keyboards to an older model and it worked.

  32. rishuJune 21, 2017 at 9:32 am - Reply

    After writing commend I press f10 but that open Kali

  33. ThomasJuly 20, 2017 at 2:15 am - Reply

    Not working with the new version of kali,
    In the new version you don’t have any initrd=/install/gtk/initrd.gz

    Grub is totaly different.

  34. fitzSeptember 4, 2017 at 7:55 am - Reply

    After I type in the new password how do I restart normally. I had to turn off the power.

  35. dyxoxSeptember 20, 2017 at 5:08 am - Reply

    For new version
    When you press E in recovery mode, you dont see any
    initrd=/install/gtk/initrd.gz of course.
    What you can do?
    Look for ro single
    Change to rw single and add init=/bin/bash
    It should be like this. rw single init=/bin/bash
    Then press F10 and enter
    Just proceed with the same steps
    It is working for me.. Hopefully it helps any of you

Leave A Response