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 06:09] – [Installation] Humphrey Boa-Gart | gear:yubi [2024/09/28 09:54] (current) – [Two-Factor Sudo] Humphrey Boa-Gart | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Advanced Magick ===== | ===== Advanced Magick ===== | ||
- | There are all sorts of [[https:// | + | There are all sorts of [[https:// |
==== Two-Factor Sudo ==== | ==== Two-Factor Sudo ==== | ||
- | In **Linux**, you can use Yubi authentication in place of password | + | In **Linux**, you can use Yubi passwordless |
- | fill in later | + | == 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.1720159742.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