Yubikey
How to
Requierments
sudo apt install libpam-u2f pamu2fcfg
- /etc/pam.d/sudo
- /etc/pam.d/gdm-password
# Yubico
auth sufficient pam_u2f.so origin=pam://$HOSTNAME appid=pam://$HOSTNAME authfile=/etc/u2f_mappings cue
Gen u2f mapping
- /etc/u2f_mappings
pamu2fcfg -u `whoami` -opam://`hostname` -ipam://`hostname` -N