This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/luya/howdy/
This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/luya/howdy/
Okay, this is still pretty useful to have, but this package is not quite perfect.
First off, you’re going to need to install the rpm-fusion
and rpm-sphere
repositories to get the pam_python
package - or you can find the pam_python.so
file on your own It’s important to note that for the last couple of versions of fedora (from 29? onward), the location of the pam .so files is
/lib64/security
and NOT /lib/security
. In fedora 33 you’re also going to need the dlib
and python_dlib
packages to get the package running correctly. After you’ve got those, you can go ahead and follow the instructions here to set it up. Note that you’ll need to edit the auth files in /etc/pam.d
- look at issues in the repo or the arch wiki to see how to do that - start with the sudo
file
Okay, that’s it for sudo
, but what if you want to login using facial recognition into gdm
? Well, that’s another topic. First off, you’ll need to edit the passwrod_auth.pam
file and add the magical sufficient
entry from the arch wiki or here. After that, if you lock your session and try to log back in you’ll see that there’s an unknown error 1
reported to gdm from howdy. After some digging, the solution turned out to be selinux
- fedora and other redhat based distors run it in enforcing mode all the time - you can follow this page to stop it. I’ll update this thread when I find a more elegant solution