nullpo-head / WSL-Hello-sudo

Let's sudo by face recognition of Windows Hello on Windows Subsystem for Linux (WSL). It runs on both WSL 1 and WSL 2. This is a PAM module for Linux on WSL.
MIT License
1.21k stars 46 forks source link

Doesn't work on WSL1 Ubuntu 20.04 #6

Closed piotrmocko closed 4 years ago

piotrmocko commented 4 years ago

It works on my Ubuntu 16.04 and 18.04, but it doesn't work on 20.04.

I have installed and configured WSL Hello on my Ubuntu 20.04 several times starting with a clean distro each time. Unfortunately, it prompts for the password. I tried to debug with su, but it prompts for the password too and doesn't output any errors.

Microsoft Windows [Version 10.0.18363.815]

qwqVictor commented 4 years ago

Same problem on Windows 10 1909 and Ubuntu 20.04 LTS on WSL 1.

handa-kenta commented 4 years ago

Same problem on Windows 10 2004(build 19628.1) / Ubuntu 20.04 LTS / WSL2

piotrmocko commented 4 years ago

There is a fix waiting to merge and to release https://github.com/nullpo-head/WSL-Hello-sudo/pull/7

nullpo-head commented 4 years ago

Thanks, so much. I'll take a look at it. Actually, I've updated my WSL to WSL 2 and having the same problem. Thanks!

thelastlin commented 4 years ago

Tested PR #7 on Ubuntu 20.04 on WSL2. Works fine.

The built binaries can be found at commit in PR #7. I hope that these binaries will be useful, but WITHOUT ANY WARRANTY. USE IT AT YOUR OWN RISK

image

nullpo-head commented 4 years ago

I've release v1.1.0, which runs Ubuntu 20.04 on WSL 2. It should work in WSL 1, too. Thanks a lot, all!

piotrmocko commented 4 years ago

v1.2.0 works on Ubuntu 20.04 WSL 1 on Windows 10 1909