Results 1 to 2 of 2

Thread: Password reset on Kali 2023.1

  1. #1

    Password reset on Kali 2023.1

    I mistyped my password when changing it and now I don't know what it is. I tried the grub bootloader changes, but that didn't help. It got me into the terminal, but if I typed passwd username it just asked me for the current password. Anybody knows any technique that can reset or change my password without having to type it in? Please help, I can't reinstall it.

  2. #2
    Good afternoon. You can try to reset the password in single-user mode:
    Reboot your Kali system and press the ESC key when the GRUB bootloader menu appears.
    Select the Kali Linux option and press the "e" key to change your boot parameters.
    Add "init=/bin/bash" to the end of the line beginning with "linux".
    Press Ctrl + X to boot with the changed configuration.
    After booting you will be taken to the root shell prompt. Enter the command "mount -o remount,rw /" to remount the file system in read/write mode.
    Enter the command "user password" (replace "username" with your username) to change the password.
    Reboot the system by typing "reboot" or by pressing Ctrl + Alt + Del.

Similar Threads

  1. Is it possible to reset the password for a specific user?
    By ThisIsMartin122 in forum General Archive
    Replies: 1
    Last Post: 2020-07-29, 04:57
  2. Can't reset forgotton root password
    By jkerr86 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2018-09-05, 12:47
  3. Reset Kali linux root password! Insecure??
    By Defaultzero in forum How-To Archive
    Replies: 2
    Last Post: 2015-08-25, 09:49

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •