Cannot login to Kali Linux
Solution 1
Don't Worry...!
STEP 1: Wait till GRUB LOADER and SELECT (RECOVERY MODE) and hit e to EDIT...
STEP 2: Add this line as below -> init=/bin/bash
Step 3: Then PRESS Ctrl+X or F10 to BOOT....
Step 4: After booted, TYPE fdisk -l
which will display the partitions (the one with the * is root partition) as below:
Step 5: NOW, TYPE mount -o remount,rw /dev/sda1 /
Step 6: NOW, TYPE the passwd
command to complete the password reset!!! and (exit
or restart your system / in VirtualBox press Host key+R to reset the system)
Now you can log in with your new password!
Solution 2
I was having the same problem although a slight difference was I installed in Virtual Box. When ask during the install for a admin/root password I created one. After the install and reboot I was ask for a user/other and password in order to log in. root and toor were not working After several failed tries I finally logged in using root as the user and the password I created during setup. Hope this helps someone.
Solution 3
This worked for me:
Select
Other
userUse
root
as the usernameEnter the root administrator password you entered during the install.
Related videos on Youtube
Axel Kennedal
Updated on September 18, 2022Comments
-
Axel Kennedal over 1 year
I just created a Kali 1.0.6 live USB using a tool called "Mac Linux USB Loader" and everything seems fine up until the point where you are supposed to login.
At the login screen I'm greeted with the choice of user "Other" where I have to manually enter at username and password.
The problem is that I have not created a user or set any password, and "root" as user and "toor" as password doesn't work.EDIT
I reinstalled Kali and got it working, I did it like this:
- My friend installed Kali on his USB-drive, using normal install process inside his Linux OS
- We plugged his USB into my Macbook and booted from it
- I plugged in my USB which I wanted Kali Live on
- Using my friend's Kali Live (that we booted into) we opened the terminal and used a command called "dd" which copies everything from one location to another. Done!
-
Matthew Williams about 10 yearsYou should have specified a password when you installed the system.
-
Axel Kennedal about 10 years@MatthewWilliams Perhaps I should, but there really was no installation since it's a live USB.
-
Matthew Williams about 10 yearsWhen you say you have tried default. Did you select "other" and put "root" and "toor"?
-
Sopalajo de Arrierez about 10 yearsA small detail: is it a Persistent Live USB?
-
Axel Kennedal about 10 years@MatthewWilliams Yes.
-
fixer1234 about 9 yearsSuper User's purpose is to create a knowledgebase, and it relies on a structure that questions are questions and answers are answers. A question that contains its own answer prevents the normal site usage mechanisms from working (e.g., there is no way for search for or handle your solution as an answer). So that others can benefit from your solution, could you move your edit to an answer (you're allowed to answer your own question)? Then accepting your answer will flag that it has been solved. Thanks.
-
Axel Kennedal about 10 years@sopalajo I tried those without any success.
-
Sopalajo de Arrierez about 10 yearsAs a (no much chances) possibility: try login from text console (Ctrl+Alt+F1).
-
Sopalajo de Arrierez about 10 yearsUpsss... you were right, @MatthewWilliams. I have edited to solve.
-
Axel Kennedal about 10 years@SopalajodeArrierez We tried that today, also with no luck
-
Sopalajo de Arrierez about 10 yearsWell, I have edited my post to add a new solution: editing your Live USB using
chroot
. Hope it will work for you. Ask if you need some help. -
Davidenko about 9 yearsI think that OP tried that and didn't work!
-
Sopalajo de Arrierez over 8 yearsBut the original poster refers to a "Live USB Kali", probably with no persistence. Each time you reboot, the changes will be deleted.
-
deacs over 6 yearsThis worked for me after having problems installing from a live usb. I had to copy files to disk and then* install, after which the
root
toor
combination didnt work. Your password reset saved my day.