The command to set the default Linux user is different in different versions of Windows. For versions of WSL up to the Fall Creators Update, runĀ .