How To Install pamtester on Kali Linux

In this tutorial we learn how to install pamtester on Kali Linux. pamtester is utility program to test the PAM facility

Introduction

In this tutorial we learn how to install pamtester on Kali Linux.

What is pamtester

pamtester is:

Pamtester is a tiny utility program to test the pluggable authentication modules (PAM) facility, which is a de facto standard of unified authentication management mechanism in many unices 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.

There are three methods to install pamtester on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install pamtester Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install pamtester using apt-get by running the following command:

sudo apt-get -y install pamtester

Install pamtester Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pamtester using apt by running the following command:

sudo apt -y install pamtester

Install pamtester Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install pamtester using aptitude by running the following command:

sudo aptitude -y install pamtester

How To Uninstall pamtester on Kali Linux

To uninstall only the pamtester package we can use the following command:

sudo apt-get remove pamtester

Uninstall pamtester And Its Dependencies

To uninstall pamtester and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove pamtester

Remove pamtester Configurations and Data

To remove pamtester configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge pamtester

Remove pamtester configuration, data, and all of its dependencies

We can use the following command to remove pamtester configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pamtester

Dependencies

pamtester have the following dependencies:

References

Summary

In this tutorial we learn how to install pamtester package on Kali Linux using different package management tools: apt, apt-get and aptitude.