pamtester command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pamtester: command not found
or when using sudo you get the following error message
sudo: pamtester: command not found
Solutions to pamtester: command not found
How To Fix pamtester: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pamtester is provided by pamtester package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pamtester
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pamtester.
sudo apt -y install pamtester
Or if you have aptitude installed you can use the following command.
sudo aptitude install pamtester
Summary
In this tutorial we learn how to fix pamtester command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.