Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 407 Bytes

WSL Resetting your Kali Linux root password 重置WSL下Kali Linux root密码.md

File metadata and controls

18 lines (9 loc) · 407 Bytes

重置WSL下Kali Linux root密码

[toc]

Open CMD

   C:\> kali config --default-user root 

ReLaunch your Linux distribution (kali). You will automatically login as root:

then Reset your password using the passwd command:

passwd root 

From Windows CMD, reset your default user back to your normal Linux user account.

C :\> kali config --default-user "xiaohan"