Menu
Home
About
Projects
Feedback
Devlog
Notes
Contact
Home
About
Projects
Feedback
Devlog
Notes
Contact
Notes
Change forgotten Ubuntu password inside WSL
Edit on GitHub
Jul 26, 2021
Ubuntu
Open
cmd.exe
and run
ubuntu2004 config --default-user root
Now run Ubuntu 20.04 inside WSL and it’ll run it as the
root
user
Use
passwd USERNAME
to change the forgotten password while running Ubuntu as root
source
Browse all topics
Algorithms
Amazon Web Services (AWS)
Android
APIs
Armbian
Bash Scripting
C#
Cheatsheets
Commands
CSS & Sass
Databases
DevOps
Docker
DRAFTS
Expo
Fastlane
Firebase
Flutter
Gatsby
Git & Github
Go
GraphQL
Hardware
Hugo
iOS
JavaScript
Jekyll
JS Interview Prep
Linux
Load Go modules from private repos
macOS
Misc.
Node
Node API
OpenCart
Personal
PHP
Programming
Python
Raspberry Pi
React Native & Expo
ReactJS
Redux
Serverless
System Administration
Typescript
Ubuntu
Web Development
WordPress
Workflow