I'm testing out Fedora (27) for the first time, trying to get my YubiKey 4 working for local authentication.
In Ubuntu I could configure /etc/pam.d/common-auth to use libpam-yubico as described here. In Fedora however common-auth isn't there, I'm guessing it has another equivalent. According to this outdated wiki article I should be using /etc/pam.d/login, but neither using the method described (with tokens) or an adapted challenge-response works.
I think the problem is that the changes aren't getting updated. I've tried running authconfig --update (in Ubuntu it was pam-auth-update), but it doesn't seem to have any effect.