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/09/28 09:30] – [Two-Factor Sudo] Humphrey Boa-Gart | gear:yubi [2025/09/30 22:44] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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 ==== | ||
| Line 21: | Line 21: | ||
| First, make sure the prerequisite PAM packages are installed. On Debian/ | First, make sure the prerequisite PAM packages are installed. On Debian/ | ||
| - | $ apt install libpam-u2f libpam-yubico pamu2fcfg | + | $ sudo apt install libpam-u2f libpam-yubico pamu2fcfg |
| == Setup == | == Setup == | ||
| - | - Plug-in | + | - Plug-in |
| - Type '' | - Type '' | ||
| - | | + | * // |
| - | * **For passwordless sudo:** Add '' | + | |
| - | * **OR for 2FA sudo:** Add '' | + | * **For passwordless sudo:** Add '' |
| + | * **OR for 2FA sudo:** Add '' | ||
| - Save file **//and do not close nano!//** | - Save file **//and do not close nano!//** | ||
| - Confirm the changes work by running '' | - Confirm the changes work by running '' | ||
| - | You can make these same changes to other configuration files in ''/ | + | You can make these same changes to other PAM configuration files while you are at it. Repeat **Step 3** on ''/ |
| {{tag> | {{tag> | ||
gear/yubi.1727515839.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