Kali Linux reset root password

Kali

Hello bad memory

So to reset kali linux

Once grub display hit (E) to edit

add init to bin/bash

Exmple : linux /boot/vmlinuz-version root=UUID=hex ro quite init=/bin/bash

hit Ctrl + X to boot

reset the password and on some other cases you have to remount the file system to be able to write so you can simply

mount -o remount,rw /
passwd

then

sync

and reboot physical as it will not understand the /bin/bash init

Gratz.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s