Created
June 18, 2020 15:55
-
-
Save maxclark/2e9847ad78d84f0c62b81fedf6f1e112 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install pam-u2f | |
mkdir -p ~/.config/Yubico/ | |
pamu2fcfg > ~/.config/Yubico/u2f_keys | |
<Press the U2f device> | |
cat ~/.config/Yubico/u2f_keys # should output <your username>:<really long hash> | |
In /etc/pam.d/screensaver | |
Add to the top: | |
auth sufficient pam_u2f.so | |
In /etc/pam.d/authorization | |
Add to the top: | |
auth sufficient pam_u2f.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment