If you are using Ubuntu App on Windows 10 and forgot the sudo
password, then do the following things. It will provide the facility to
reset the password.
- In Windows admin command prompt change the default user to root:
- Use passwd command in Bash to change the user password (the user whose password you want to reset):
- Change the default user back to your normal user in Windows command prompt
Comments
Post a Comment
Please feel free to comment. I would love to hear feedback.