关闭Ubuntu窗口
打开Powershell 或 cmd, 以root默认登陆 wsl -u root。
别关,在这个cmd窗口内(重点)输入 wsl 进入,
输入 passwd your_username ,确认密码。
关闭 WSL。 exit
【window子系统Ubuntu】root密码
于 2021-10-20 23:12:10 首次发布
关闭Ubuntu窗口
打开Powershell 或 cmd, 以root默认登陆 wsl -u root。
别关,在这个cmd窗口内(重点)输入 wsl 进入,
输入 passwd your_username ,确认密码。
关闭 WSL。 exit