Up next in 10 CANCEL
PLAY NOW
Reset Forgotten Ubuntu Linux Password on WSL WSL (Windows Subsystem for Linux) is a handy tool for people who want to enjoy the power of Linux command line from the comfort of Windows.
When you install Linux using WSL on Windows, you are asked to create a username and password. This user is automatically logged on when you start Linux on WSL.
Now, the problem is that if you haven’t used it for some time, you may forget the account password of WSL. And this will become a problem if you have to use a command with sudo because here you’ll need to enter the password.
Don’t worry. You can easily reset the WSL Password. Just follow the video.
Step 1: Switch to root as default user
ubuntu config --default-user root
Step 2: Reset the password for the account
passwd username
You have to change the username in the above command with the actual user name.
Step 3: Set regular user as default again
Show More Show Less 1
18:23
Ubuntu 18.04 Review of New Features
237K views
·
May 24, 2023
2
6:53
Ubuntu 18.04 Preview of New Features
34K views
·
May 24, 2023
3
5:34
How to Upgrade To Ubuntu 18.04 from Ubuntu 17.10
32K views
·
May 24, 2023
4
12:46
21 Things to do After Installing Ubuntu 18.04 [Must for beginners]
62K views
·
May 24, 2023
5
7:42
Top 5 Linux Distributions for Windows Users
44K views
·
May 24, 2023
6
3:06
10 Ubuntu Keyboard Shortcuts for Power Users
55K views
·
May 24, 2023
7
6:26
7 Apt Commands Every Ubuntu Linux User Should Know
79K views
·
May 24, 2023
8
3:42
Forgot Ubuntu Password? Here's How to Reset User Password in Ubuntu Linux
87K views
·
May 23, 2023
9
1:35
How to change default applications in Ubuntu [Ubuntu Tutorial for Beginners]
39K views
·
May 24, 2023
10
2:44
How to Fix System Program Problem Detected in Ubuntu Linux
27K views
·
May 24, 2023
11
3:59
Best Linux Distributions That Are Not Based On Ubuntu
24K views
·
May 24, 2023
12
8:53
How to Dual Boot Ubuntu and Windows 10 [Works in 2021]
30K views
·
May 24, 2023
13
4:34
How to Install Unity on Ubuntu 18.04 [Complete Procedure]
40K views
·
May 24, 2023
14
12:46
21 Things to do After Installing Ubuntu 18.04 [Must for beginners]
62K views
·
May 24, 2023
15
3:06
10 Ubuntu Keyboard Shortcuts for Power Users
55K views
·
May 24, 2023
16
3:57
How to Record Audio in Ubuntu Linux
48K views
·
May 24, 2023
17
1:47
How To Check Ubuntu Version [Quick Tip]
33K views
·
May 24, 2023
18
6:26
7 Apt Commands Every Ubuntu Linux User Should Know
79K views
·
May 24, 2023
19
3:19
5 Stunning Icon Themes for Ubuntu and other Linux Distributions
34K views
·
May 24, 2023
20
4:24
How to Fix Ubuntu Linux Freezing on Boot
44K views
·
May 24, 2023
21
2:32
How to Add App Shortcuts on Desktop in Ubuntu Linux
30K views
·
May 24, 2023
22
3:41
How to Create Bootable Ubuntu USB in Windows 10
35K views
·
May 24, 2023
23
5:52
How to Install Ubuntu in the Simplest Possible Way
40K views
·
May 24, 2023
24
4:15
How to Remove Ubuntu or Other Linux from Dual Boot [Safely and Easily]
26K views
·
May 23, 2023
3:09
Reset Forgotten Ubuntu Linux Password on WSL
35K views
·
May 23, 2023
26
14:05
How to Dual Boot Ubuntu Linux and Windows 10 with BitLocker Encryption
29K views
·
May 23, 2023
27
3:42
Forgot Ubuntu Password? Here's How to Reset User Password in Ubuntu Linux
87K views
·
May 23, 2023
28
6:30
How to Install Themes in Ubuntu 18.04 GNOME Desktop
39K views
·
May 23, 2023
29
2:54
How to Install Spotify on Ubuntu Linux
40K views
·
May 23, 2023
30
3:33
How To Free Up Space In Ubuntu and other Linux distributions
35K views
·
May 23, 2023
31
1:11
Ubuntu is everywhere
26K views
·
May 23, 2023
32
3:46
Meet Rhino Linux : Ubuntu based + Rolling release + AUR
34K views
·
May 23, 2023