gear:yubi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gear:yubi [2024/07/05 05:53] – Humphrey Boa-Gart | gear:yubi [2024/09/28 09:54] (current) – [Two-Factor Sudo] Humphrey Boa-Gart | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{wst> | ||
- | |||
====== YubiKey ====== | ====== YubiKey ====== | ||
- | **YubiKey** is a [[gear: | + | **YubiKey** is a line of [[gear: |
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | There are a lot of things made for these keys, but the two main packages you are looking for are the cross-platform [[https:// | ||
+ | |||
+ | * **YubiKey Manager** is what configures the YubiKey itself. | ||
+ | * **Yubico Authenticator** is a [[security: | ||
+ | ===== Advanced Magick ===== | ||
+ | |||
+ | There are all sorts of [[https:// | ||
+ | |||
+ | ==== Two-Factor Sudo ==== | ||
+ | |||
+ | In **Linux**, you can use Yubi passwordless authentication on the '' | ||
+ | |||
+ | == Install Dependencies == | ||
+ | |||
+ | First, make sure the prerequisite PAM packages are installed. On Debian/ | ||
+ | |||
+ | $ sudo apt install libpam-u2f libpam-yubico pamu2fcfg | ||
+ | |||
+ | == Setup == | ||
+ | |||
+ | - Plug-in Yubikey and run '' | ||
+ | - Type '' | ||
+ | * // | ||
+ | - Open the PAM sudo config: '' | ||
+ | * **For passwordless sudo:** Add '' | ||
+ | * **OR for 2FA sudo:** Add '' | ||
+ | - Save file **//and do not close nano!//** | ||
+ | - Confirm the changes work by running '' | ||
+ | You can make these same changes to other PAM configuration files while you are at it. Repeat **Step 3** on ''/ | ||
- | {{tag> | + | {{tag> |
gear/yubi.1720158796.txt.gz · Last modified: (external edit)
Find this page online at: https://bestpoint.institute/gear/yubi
Find this page online at: https://bestpoint.institute/gear/yubi