步驟 win+r 輸入 cmd 打開提示符 輸入 wsl -u root, 可以登錄linux子系統的的root用戶 輸入 passwd 可以重置密碼 再次打開ubuntu, 發現就可以登錄root用戶了