shield-purge command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
shield-purge: command not found
or when using sudo you get the following error message
sudo: shield-purge: command not found
Solutions to shield-purge: command not found
How To Fix shield-purge: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu shield-purge is provided by libpam-shield package.
libpam-shield is:
In certain situations it is not possible to use host based authentication and here pam-shield comes in use.
It locks out brute-force password crackers using null-route or iptables rules.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libpam-shield
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libpam-shield.
sudo apt -y install libpam-shield
Or if you have aptitude installed you can use the following command.
sudo aptitude install libpam-shield
Summary
In this tutorial we learn how to fix shield-purge command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.