PDA

View Full Version : Kali password recovery



Roxie2
2013-12-30, 18:02
I have installed Kali Linux on Virtual Box and it was running successfully, nevertheless, I have now forgotten (?) the password I selected and cannot get past password entry. How might I recover the password?

Roxie2

zimmaro
2013-12-30, 19:46
I have installed Kali Linux on Virtual Box and it was running successfully, nevertheless, I have now forgotten (?) the password I selected and cannot get past password entry. How might I recover the password?

Roxie2

hi :)
if you want can try this way for (debian)

Method 1

-Boot into grub, select but do not press enter.
-Press e to go into edit mode.
-Scroll down to the kernel line, it starts with "linux /boot/vmlinuz-3.7……."
-Scroll to the end of that line and press space key once and type init=/bin/bash
-Press Ctrl X to boot

########## Remount / as Read/Write##############
mount -rw -o remount /

########### Change password with##############
passwd

# type new password, confirm and hit enter and then reboot.

FONT:
http://pve.proxmox.com/wiki/Debian_reset_root_password

Roxie2
2013-12-31, 21:28
hi :)
if you want can try this way for (debian)

Method 1

-Boot into grub, select but do not press enter.
-Press e to go into edit mode.
-Scroll down to the kernel line, it starts with "linux /boot/vmlinuz-3.7……."
-Scroll to the end of that line and press space key once and type init=/bin/bash
-Press Ctrl X to boot

########## Remount / as Read/Write##############
mount -rw -o remount /

########### Change password with##############
passwd

# type new password, confirm and hit enter and then reboot.

FONT:
http://pve.proxmox.com/wiki/Debian_reset_root_password


Thanks for replying to my question, however, I do not know how to boot into grub. Please explain? Will this work in VB?

Roxie2

zimmaro
2013-12-31, 23:48
Thanks for replying to my question, however, I do not know how to boot into grub. Please explain? Will this work in VB?

Roxie2
if you have GRUB(installed-during-your-kali-installation) this is GRUB:

http://imageshack.us/f/546/iim0.png/
@zoom 1600x1200

prompt_32
2014-01-01, 12:23
My question is how to PREVENT this ?
use a grub passwd, maybe ?

Roxie2
2014-01-02, 04:28
Zimmaro,

Thank you for your assistance. You were very helpful. I also found the following link to be helpful: http://geekyshow.blogspot.com/2013/09/reset-your-forgotten-ubuntu-password.html.

Best wishes, Roxie2