PDA

View Full Version : Unable to 'su root' in kali on WSL



Long the oriental dragon
2018-03-22, 01:12
Hello mates,
I have installed kali on Windows with WSL, and I have created a default user in it.
However, this user has only limited privileges, so I decided to use root instead.
As far as I can remember, the default password for root is toor.
Then I typed 'su root',and saw the dear 'Password:'
'toor' my fingers moved before I can think.


'Enter'


su: Authentication Failure.



Double checked https://docs.kali.org/introduction/kali-linux-default-passwords to confirm it.


Could anyone help me to recover the default password for my poor root? Thanks!

re4son
2018-03-22, 10:30
I'm sure the root password is randomly generated in WSL.
It's irrelevant though, just type


sudo su

to become root

swordfish
2018-03-31, 23:41
Thank you @re4son. Your answer helped me as well.