How To Install pamtester on CentOS 8
Introduction
In this tutorial we learn how to install pamtester on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install pamtester.
Install pamtester on CentOS 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install pamtester using dnf by running the following command:
sudo dnf -y install pamtester
Install pamtester on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the pamtester package we can use the following command:
sudo dnf remove pamtester
pamtester Package Contents on CentOS 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 CentOS 8 using yum and dnf.