How To Install pamtester on Rocky Linux 8
Introduction
In this tutorial we learn how to install pamtester on Rocky Linux 8.
What is pamtester
Pamtester is a tiny program to test the Pluggable Authentication Modules (PAM) facility, which is a de facto standard of unified authentication management mechanism in many Unixes and similar OSes including Solaris, HP-UX, *BSD, MacOSX and Linux. While specifically designed to help PAM module authors to test their modules, that might also be handy for system administrators interested in building a centralised authentication system using common standards such as NIS, SASL and LDAP.
We can use yum or dnf to install pamtester on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pamtester.
Install pamtester on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pamtester using dnf by running the following command:
sudo dnf -y install pamtester
Install pamtester on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pamtester using yum by running the following command:
sudo yum -y install pamtester
How To Uninstall pamtester on Rocky Linux 8
To uninstall only the pamtester package we can use the following command:
sudo dnf remove pamtester
pamtester Package Contents on Rocky Linux 8
/usr/bin/pamtester
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/0b53f5c56d8540d961847b4ef0fdf1265182ee
/usr/share/doc/pamtester
/usr/share/doc/pamtester/AUTHORS
/usr/share/doc/pamtester/ChangeLog
/usr/share/doc/pamtester/NEWS
/usr/share/doc/pamtester/README
/usr/share/licenses/pamtester
/usr/share/licenses/pamtester/LICENSE
/usr/share/man/man1/pamtester.1.gz
References
Summary
In this tutorial we learn how to install pamtester on Rocky Linux 8 using yum and dnf.