nullpo-head / wsl-distrod

Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
MIT License
1.9k stars 90 forks source link

[Bug]: --start-on-windows-boot results in confusing user flow with Windows Hello. #42

Open tyvsmith opened 2 years ago

tyvsmith commented 2 years ago

Describe the bug

When using the --start-on-windows-boot flag, the UAC password requirement uses the user account password, not PIN. If windows Hello is setup, the pin is used in most typical auth flows as the Microsoft account password is the true user password, which is rarely required.

Steps to reproduce

Enable Windows Hello with a local account linked to microsoft account

sudo /opt/distrod/bin/distrod enable --start-on-windows-boot

Expected behavior

Either have clearer messaging in the output prompt, on the cli or add a note in the README. Let me know which you'd prefer and I'll send a PR.

Windows version

11

Linux kernel version

5.10.60.1-microsoft-standard-WSL2

Distro

Ubuntu 21.10

How did you install that distro?

Installed by Distrod wizard

Logs

n/a

additional comment

No response

agreppin commented 2 years ago

^^thank you for this useful info, typing my password instead of PIN solved my problem 🥇

yangzhaoyunfei commented 2 years ago

me too

James-TR commented 2 years ago

My Microsoft Account has "passwordless login" enabled. I do not even have a password assigned to my account at all so the procedure for starting on boot is impossible to complete. I am not going to re-enable passwords on my account just to satisfy this script.