How To Install pam_yubico on Fedora 34
Introduction
In this tutorial we learn how to install pam_yubico
on Fedora 34.
What is pam_yubico
This is pam_yubico, a pluggable authentication module that can be used with Linux-PAM and yubikeys. This module supports yubikey OTP checking. pam_yubico 2.26 7.fc34 x86_64 68 k pam_yubico-2.26-7.fc34.src.rpm fedora A Pluggable Authentication Module for yubikeys https BSD This is pam_yubico, a pluggable authentication module that can be used with Linux-PAM and yubikeys. This module supports yubikey OTP checking.
We can use yum
or dnf
to install pam_yubico
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pam_yubico.
Install pam_yubico on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pam_yubico
using dnf
by running the following command:
sudo dnf -y install pam_yubico
Install pam_yubico on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pam_yubico
using yum
by running the following command:
sudo yum -y install pam_yubico
How To Uninstall pam_yubico on Fedora 34
To uninstall only the pam_yubico
package we can use the following command:
sudo dnf remove pam_yubico
pam_yubico Package Contents on Fedora 34
/lib/security/pam_yubico.so
/usr/bin/ykpamcfg
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/835d69cc8d0addb694c01b4427ad5f0a9f0633
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/58cf7620d6f5268946546f23608ff04ce8b9c7
/usr/share/doc/pam_yubico
/usr/share/doc/pam_yubico/ChangeLog
/usr/share/doc/pam_yubico/NEWS
/usr/share/doc/pam_yubico/README
/usr/share/licenses/pam_yubico
/usr/share/licenses/pam_yubico/COPYING
/usr/share/man/man1/ykpamcfg.1.gz
/usr/share/man/man8/pam_yubico.8.gz
/lib64/security/pam_yubico.so
/usr/bin/ykpamcfg
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/a8cffe2b37393cfe3ca6679b9766dcbf8c17b9
/usr/lib/.build-id/12
/usr/lib/.build-id/12/022f563913bd019c4ac06d4989ba519722691e
/usr/share/doc/pam_yubico
/usr/share/doc/pam_yubico/ChangeLog
/usr/share/doc/pam_yubico/NEWS
/usr/share/doc/pam_yubico/README
/usr/share/licenses/pam_yubico
/usr/share/licenses/pam_yubico/COPYING
/usr/share/man/man1/ykpamcfg.1.gz
/usr/share/man/man8/pam_yubico.8.gz
References
- [pam_yubico website](https://developers.yubico.com/yubico-pam/ https://developers.yubico.com/yubico-pam/)
Summary
In this tutorial we learn how to install pam_yubico
on Fedora 34 using yum and dnf.