sudo whoami prompt never opens Windows Hello
I've tried the directions in the README.md for this error but so far no luck.
I always get the password prompt:
mbcrump@DT:/mnt/c/Users/micrum$ sudo id
Password:
My sudo nano /etc/pam.d/sudo:
#%PAM-1.0
auth sufficient pam_wsl_hello.so
session required pam_env.so readenv=1 user_readenv=0
session required pam_env.so readenv=1 envfile=/etc/default/locale user_readenv=0@include common-auth
@include common-account
@include common-session-noninteractive
The exe copied over successfully:
mbcrump@DT:/mnt/c/Users/micrum/pam_wsl_hello/WindowsHelloAuthenticator$ tree
.
├── WindowsHelloAuthenticator.exe
├── WindowsHelloAuthenticator.exe.config
└── WindowsHelloAuthenticator.pdb
0 directories, 3 files
Anyone having an issue?
You might want to check that authenticator_path is correct in /etc/pam_wsl_hello/config. I don't remember the details now, but mine somehow ended up pointing to the wrong place after the install, which resulted in silent failure.
If that's all OK, check out 'Troubleshooting' in the README - I seem to remember I came across the above by trying with su rather than sudo, which gave me some pam error output.
thanks for the info. I checked it and it is correct.
mbcrump@DT:/etc/pam_wsl_hello$ cat config
authenticator_path = "/mnt/c/Users/micrum/pam_wsl_hello/WindowsHelloAuthenticator/WindowsHelloAuthenticator.exe"
mbcrump@DT:/etc/pam_wsl_hello$ ls -l /mnt/c/Users/micrum/pam_wsl_hello/W
indowsHelloAuthenticator/WindowsHelloAuthenticator.exe
-rwxrwxrwx 1 mbcrump mbcrump 10240 Mar 2 08:29 /mnt/c/Users/micrum/pam_wsl_hello/WindowsHelloAuthenticator/WindowsHelloAuthenticator.exe
I also tried a few toggles between su and sudo. Nothing yet!