Tag Archives: Windows 10 WSL

List Available WSL Linux Distros in Windows 10

List Available WSL Linux Distros in Windows 10

Starting with Windows 10 build 18342 (19H1) and Windows 10 build 18836 (20H1), Microsoft added some new commands to the built-in wsl.exe tool. By using the new arguments, you can quickly list available distros in WSL Linux.

Add or Remove Sudo Users in WSL Linux in Windows 10

Add or Remove Sudo Users in WSL Linux in Windows 10

Continuing with my WSL coverage, I would like to share how to add or remove a user to the sudo group in a WSL Linux distro in order to allow or deny it from running commands and apps as root. This is applicable to newly added user accounts, as they have no sudo privileges out of the box. Also, we will see how to find which user accounts are already members of the sudo group.

Find User Accounts in WSL Linux in Windows 10

Find User Accounts in WSL Linux in Windows 10

You may have multiple user accounts in a WSL Linux distro. This post explains how to quickly find available user accounts in a WSL console. The method described in the article is suitable for any WSL distro.

Switch User in WSL Linux Distro in Windows 10

Switch User in WSL Linux Distro in Windows 10

Each WSL Linux distro you have installed in Windows 10 contains its own set of user accounts. A WSL distro starts with its default user account that will be signed in automatically. It is possible to override the default user account and start a distro with a specific user account signed in by default. Also, you can switch between Linux user accounts without leaving your WSL session.

Update and Upgrade WSL Linux Distro in Windows 10

Update and Upgrade WSL Linux Distro in Windows 10

The ability to run Linux natively in Windows 10 is provided by the WSL feature. Windows 10 does not automatically update or upgrade the packages in a distro installed in WSL. This is a task that a WSL Linux user need to perform himself.

Run WSL Linux Distro as Specific User in Windows 10

Run WSL Linux Distro as Specific User in Windows 10

In a previous article, we reviewed the methods you can use to start a WSL Linux Distro in Windows 10, including the classic shortcuts in the Start menu, and ending the wsl.exe console tool. In this article, we will see how to run a distro as a specific user without setting that account as your default WSL user.

Change User Password in WSL Linux Distro in Windows 10

Change User Password in WSL Linux Distro in Windows 10

If you need to change your user account in a WSL Linux distro, it can be a bit tricky when you are not familiar with Linux console tools. We will see how to change the password without resetting the distro.