psadwatchd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
psadwatchd: command not found
or when using sudo you get the following error message
sudo: psadwatchd: command not found
Solutions to psadwatchd: command not found
How To Fix psadwatchd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu psadwatchd is provided by psad package.
psad is:
PSAD is a collection of four lightweight system daemons (in Perl and C) designed to work with iptables to detect port scans. It features:
- a set of highly configurable danger thresholds (with sensible defaults provided);
- verbose alert messages that include the source, destination, scanned port range, beginning and end times, TCP flags, and corresponding Nmap options;
- reverse DNS information;
- alerts via email;
- automatic blocking of offending IP addresses via dynamic firewall configuration.
When combined with fwsnort and the iptables string match extension, PSAD is capable of detecting many attacks described in the Snort rule set that involve application layer data.
To fix this problem, we can install more using the command below.
sudo apt-get -y install psad
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install psad.
sudo apt -y install psad
Or if you have aptitude installed you can use the following command.
sudo aptitude install psad
Summary
In this tutorial we learn how to fix psadwatchd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.