Tag Archives: Windows 10 WSL

Windows Subsystem for Linux 2 Will Include Full Linux Kernel

Windows Subsystem for Linux 2 Will Include Full Linux Kernel

Microsoft today announced a new architecture for the Windows Subsystem for Linux: WSL 2. It will allow for dramatic file system performance increases, and full system call compatibility, meaning you can run more Linux apps in WSL 2 such as Docker.

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.