1. 在powershell中切换到root:
2. 进入ubuntu:
3. 修改制定用户的密码:
4. 切换回默认的用户:
WSL ubuntu忘记密码
原文:https://www.cnblogs.com/talentzemin/p/12540616.html