0

I forgot my Kali password and I tried getting into LILO single user mode but it still asks for root password (which I forgot). As a secondary measure I just ran

init=/bin/bash

The command runs but then it gets stuck when booting the system, I repeated this about 3 times but it still gets stuck in the exam exact place as last time (it gets stuck in a place where the prompt is just checking all my system specifications) so I guess this is some kind of security measure for Kali.

I don't know if I'm wrong. Any ideas on how to solve my problem?

1
  • Did you find a solution? I'm having the same exact problem Commented Dec 13, 2014 at 17:28

1 Answer 1

1

Steps to follow for systems using LILO bootloader

Step 1

At LILO bootloader type linux single and press the ENTER key:

Boot: linux single

Step 2

When presented with the command prompt, issue the passwd command.

passwd

Step 3

Before rebooting the system, it is a good idea to run the sync command.

sync

Step 4

Reboot.

You should now be able to login into the system with your new root password.

This website explains how to recover grub passwords as well.

1
  • I can use the Linux single command since it still asks my original root password
    – lob0
    Commented Sep 16, 2014 at 1:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .