How To Install pam_shield on Fedora 34
Introduction
In this tutorial we learn how to install pam_shield
on Fedora 34.
What is pam_shield
This is a pam module that supports brute force blocking against pam authentication mechanisms. pam_shield 0.9.5 28.fc34 x86_64 41 k pam_shield-0.9.5-28.fc34.src.rpm fedora Pam Shield - A pam module to counter brute force attacks http GPLv2 This is a pam module that supports brute force blocking against pam authentication mechanisms.
We can use yum
or dnf
to install pam_shield
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pam_shield.
Install pam_shield 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_shield
using dnf
by running the following command:
sudo dnf -y install pam_shield
Install pam_shield 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_shield
using yum
by running the following command:
sudo yum -y install pam_shield
How To Uninstall pam_shield on Fedora 34
To uninstall only the pam_shield
package we can use the following command:
sudo dnf remove pam_shield
pam_shield Package Contents on Fedora 34
/etc/cron.daily/pam_shield
/etc/security/shield.conf
/lib/security/pam_shield.so
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/e22241f346a0b13b59454899060eda2ddbe3a3
/usr/lib/.build-id/40
/usr/lib/.build-id/40/6a689776ebe189441efe632f8f23551f29abbf
/usr/sbin/shield-purge
/usr/sbin/shield-trigger
/usr/sbin/shield-trigger-iptables
/usr/share/doc/pam_shield
/usr/share/doc/pam_shield/CREDITS
/usr/share/doc/pam_shield/Changelog
/usr/share/doc/pam_shield/INSTALL
/usr/share/doc/pam_shield/LICENSE
/usr/share/doc/pam_shield/README
/usr/share/man/man8/shield-purge.8.gz
/usr/share/man/man8/shield-trigger-iptables.8.gz
/usr/share/man/man8/shield-trigger.8.gz
/var/lib/pam_shield
/etc/cron.daily/pam_shield
/etc/security/shield.conf
/lib64/security/pam_shield.so
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/8cdf0c02ec4e3812ce2d5a2e062c6129910a75
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/00f4043557bf86896fb044c275932b40684ab0
/usr/sbin/shield-purge
/usr/sbin/shield-trigger
/usr/sbin/shield-trigger-iptables
/usr/share/doc/pam_shield
/usr/share/doc/pam_shield/CREDITS
/usr/share/doc/pam_shield/Changelog
/usr/share/doc/pam_shield/INSTALL
/usr/share/doc/pam_shield/LICENSE
/usr/share/doc/pam_shield/README
/usr/share/man/man8/shield-purge.8.gz
/usr/share/man/man8/shield-trigger-iptables.8.gz
/usr/share/man/man8/shield-trigger.8.gz
/var/lib/pam_shield
References
- [pam_shield website](http://www.heiho.net/pam_shield/index.html http://www.heiho.net/pam_shield/index.html)
Summary
In this tutorial we learn how to install pam_shield
on Fedora 34 using yum and dnf.