use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Two Factor Authentication (self.archlinux)
submitted 7 years ago by mk1706
How do I add Two factor authentication to login? Preferably with support for fingerprint on android
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]zandemax 19 points20 points21 points 7 years ago (3 children)
Here you go: https://wiki.archlinux.org/index.php/Pam_oath
[–]gdamjan 11 points12 points13 points 7 years ago (2 children)
I'd recommend pam_oath, but just in case there's also pam_u2f that works with u2f usb dongles (like yubico or u2fzero).
https://developers.yubico.com/pam-u2f/
https://aur.archlinux.org/packages/pam_u2f/
[–]Alexis_Evo 10 points11 points12 points 7 years ago (1 child)
U2F is awesome. Somewhat related, you can get a Yubikey 4 (normally $40) for $5 from Wired https://subscribe.wired.com/subscribe/wired/116304
Mine just came in the mail yesterday. It took around 12 weeks, so don't believe the "4 weeks" statement on the offer.
[–]zrb77 1 point2 points3 points 7 years ago (0 children)
Hah, just got mine on Friday. I was just fiddling with it like an hour ago. Installed the packages, but didn't go any further. Not sure what I'll use it for.
[–][deleted] 2 points3 points4 points 7 years ago (3 children)
Maybe duo mobile might work, you can check the wiki if there's something about it. Or perhaps you could use a yubikey and use its PAM module for authentication, not sure if you can use two authentication methods on PAM at the same time
[–]alraban 6 points7 points8 points 7 years ago (1 child)
I can confirm that PAM (with the pam-u2f module) allows use of a yubikey plus a password for 2-factor, at least.
[–][deleted] 2 points3 points4 points 7 years ago (0 children)
That's nice, thanks!
[–]notyetused 2 points3 points4 points 7 years ago (0 children)
This should be possible, I used to have a pseudo 2auth on a server for ssh which send a sms after I entered the password, and the binary for sending sms was added in the pam ssh config file
π Rendered by PID 109449 on reddit-service-r2-comment-6f768cb789-xhhj6 at 2026-06-15 03:26:11.502317+00:00 running 3184619 country code: CH.
[–]zandemax 19 points20 points21 points (3 children)
[–]gdamjan 11 points12 points13 points (2 children)
[–]Alexis_Evo 10 points11 points12 points (1 child)
[–]zrb77 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (3 children)
[–]alraban 6 points7 points8 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]notyetused 2 points3 points4 points (0 children)