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.
Just noticed that the path to the Windows install directory isn't quoted in the uninstall.sh file.
Because of this, the directory isn't removed on uninstall if the path contains spaces.
Worse, since the path is treated as two separate ones (before and after the space), the uninstall script might rm -rf other, unrelated directories¹ – so I'd say this is quite an urgent fix!
¹ if the users Tim and Tim Scott exist, uninstall.sh runs rm -rf /c/Users/Tim Scott/pam_wsl_hello and boom, say goodbye to Tim's home directory!
Just noticed that the path to the Windows install directory isn't quoted in the
uninstall.sh
file. Because of this, the directory isn't removed on uninstall if the path contains spaces. Worse, since the path is treated as two separate ones (before and after the space), the uninstall script mightrm -rf
other, unrelated directories¹ – so I'd say this is quite an urgent fix!¹ if the users
Tim
andTim Scott
exist,uninstall.sh
runsrm -rf /c/Users/Tim Scott/pam_wsl_hello
and boom, say goodbye to Tim's home directory!