YubiKey and Slackware
Can I do anything on Slackware with a YubiKey (e.g., login, authenticate SSH sessions, use the YubiKey for sudo or su, etc.)? In other words: Does Slackware support any sort of two-step authentication or one-time password (OTP) authentication?
|
http://www.yubico.com/applications/c...r-login/linux/
reading there it uses PAM, so you first have to integrate PAM (Slackware is PAM-free), then... |
I use YubiKeys for two factor authentication on web services (instead of using Google Authenticator or text messages on a phone) and with PasswordSafe, but for actual login authentication it requires PAM. You can install/configure PAM if you want, but it isn't supported by default on Slackware. For actually setting up a YubiKey (for any use) you will need libyubikey, ykpers and yubikey-personalization-gui. I wrote some SlackBuilds for some older versions but I haven't updated them in a while -- I may update and submit them to SBo at some point in the future but in the meantime let me know if you want them as a starting point. I haven't played with PAM to get actual login/ssh/etc. authentication working on Slackware myself. The hardest part of that would be getting PAM working -- there are simple enough instructions for getting YubiKey authentication working, but since PAM is included with basically every other distro in the world they are only half the solution on Slackware.
It should be noted that ykpers includes udev rules that will not work with Slackware's udev-182 (unless newer versions added an extra udev rule). This one does, at least in 14.0 (but I am no udev expert so it perhaps isn't as elegant as it should be): Code:
# Udev rules for letting the console user access the Yubikey USB |
Quote:
What about KWallet? How could I use a YubiKey to unlock a KWallet wallet so I don't have to enter a password every time it prompts me to unlock a wallet? thanks |
LastPass FireFox extension better than default password manager
This isn't for Slack specifically, but for the FireFox password manager, the LastPass extension works with YubiKeys.
UPDATE: They charge to use a YubiKey! I'm uninstalling this joke plugin. |
All times are GMT -5. The time now is 05:12 PM. |