Forum Discussion
Skip Password/login into WSL.EXE?
So I noticed this odd behavior when I installed Ubuntu from Microsoft store and when I run wsl.exe it opens a cli bash shell login prompt asking for the password for the ubuntu user I created when I installed it (this is normal and expected). If I hit CTRL+C 4 or 5 times it just logs in as the user with write permissions to the ubuntu user home folder. I didnt check other folders. Not sure if this is only an issue in 1903 or Ubuntu alone or not.
Is this behavior expected or normal? why ask for a login if you can just skip the password?
1 Reply
This is not expected or intended behavior. WSL is designed to auto-login into the default user without prompting for a password.
Reset your WSL installation - This is the safest approach since the current setup has a security flaw.