How to reset kali linux root password

I had a need to reset root password because of forgot it in kali linux. Today will share you how to do it in simply way.

For the beginning, during booting system we need to choose advanced startup options or type e having checked proper system on booting list.

After get the advanced configuration of GRUB search the line which is starting from linux. Using keyboard go to fragment which contains ro quiet splash.

then ro changing for rw and fragment quiet splash changing for init=/bin/bash

Now we need to save changes by clicking F10.

After startup will see command line with root account logged and now just type command:

and type 2 times new password. After proper typing we will see notification about succesfull change. Now just restart system by the command:

Now you can login using new password.

Komentarze

Nie ma jeszcze komentarzy. Może zaczniesz dyskusję?

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *