View Full Version : what is the root password as toor is not working
mailajayck
2020-07-04, 22:24
downloaded linux kali from https://www.offensive-security.com/kali-linux-vm-vmware-virtualbox-image-download/
unable to login to the VM Image kali-linux-2020.2a-vmware-amd64
can someone help with the password default for root to login to the VM ?
am a new user going through penetration testing first lesson just today
would be really helpful to follow through if this password for root user is known and make this journey :)
Thanks in Advance Fellows!!!
sandyugale
2020-07-12, 15:37
I had same issue , I login in with kali/kali and then reset the password of root
sudo su
passwd root
suryapratapsingh
2020-07-12, 20:17
https://www.kali.org/docs/introduction/default-credentials/
Try
User: kali
Password: kali
Greetings!
User: Kali
Password Kali is working! However, when setting up the VM (Kali-Linux02020.2a-vbox-amd64 Debian 64bit), it didn't asked me to configure regional settings/creation of password for root user etc. Login screen was directly loaded. When initiating command it gives below error:-
kali@kali:~$ apt-get update
Reading package lists... Done
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
I also tried "toor" without the quotes for root user but in vain.
Any help is highly appreciated!!
userofkali
2020-07-29, 23:39
As older version of kali having root password toor . But In latest version we need to set password for root .
Please try this :
sudo passwd root & after that you can set password for root
I did managed to change the password of user "root" as per above mentioned procedure.
However, when I execute "ifconfig" it doesn't work from user "Kali" I thought its a user with higher privileges? Sorry, I am a novice, learning Linux to steer my career from Storage administration to Cyber Security & while following a video to create python script, I have to add "ifconfig" command & its failing to run.
Attached is the error, I receive, can you suggest, how to fix this?
Many Thanks for your time & assistance!!4188
userofkali
2020-08-16, 15:17
I am sorry for late reply you
sudo is a command-line program that allows trusted users to execute commands as root or another user
Please use command su - root
Thanks & Regards
userofkali
2020-08-17, 21:08
Please use following command
su - root
and know you can run ifconfig with having root privilege. As kali User is belongs to sudo group
ploterdeimpresion
2020-08-18, 16:03
thanks that helped me too
kalinux01
2020-11-12, 17:56
So on the latest release 2020.3, it doesn't ask to setup a root password. It only asks to setup a user and password for it.
Rest none of the combo works. You need to login using your created user. Then:
su to root and use the password toor:kali (either one of them depending when you see the reply)
Then you are into root >> use the passwd command to update a password of your choice. It took me 2 hours to figure out this and nowhere documented.
If you are lucky, you would read this reply in less time than mine
Hi,
After login with:
Username: kali
Password: kali
Use this command:
kali@kali:~$ sudo su
[sudo] password for kali:
root@kali:/home/kali# passwd root
New password:
Retype new password:
passwd: password updated successfully
root@kali:/home/kali#
On 12th of July, @sandyugale (https://forums.kali.org/member.php?169223-sandyugale) has provided this fix and I've tried it, it works fine.
Thaks a lot to @sandyugale (https://forums.kali.org/member.php?169223-sandyugale)