关闭Ubuntu窗口打开Powershell 或 cmd, 以root默认登陆 wsl -u root。别关,在这个cmd窗口内(重点)输入 wsl 进入,输入 passwd your_username ,确认密码。关闭 WSL。 exit