I am aware of functions to set a default user or change password for WSL Ubuntu like in [askubuntu thread here](https://askubuntu.com/questions/931940/unable-to-change-the-root-password-in-windows-10-wsl) or [official docs](https://learn.microsoft.com/en-us/windows/wsl/user-support).

What I'm looking for is when we do `wsl` from a cmd, or click the `Ubuntu 18.04 LTS` from Start Menu, I would like to have the same effect as when SSH into a server, it will ask for name or password. I do not want to automatically sign-in. I figured maybe all I need is to not set any default user, but couldn't find how to do that anywhere.

It seems to do this from a normal Ubuntu distro, I would have to edit it in the Settings > Detail or do it from terminal like [here](https://vitux.com/how-to-enable-disable-automatic-login-in-ubuntu-18-04-lts/) - but that's using *gdm*, I don't think WSL has that.