checksecurity command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
checksecurity: command not found
or when using sudo you get the following error message
sudo: checksecurity: command not found
Solutions to checksecurity: command not found
How To Fix checksecurity: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu checksecurity is provided by checksecurity package.
checksecurity is:
Checksecurity can periodically do some very basic system security checks:
* check-setuid - scans for insecurely mounted remote file systems,
and tracks changes in setuid programs;
* check-sockets - tracks changes in open ports to detect rogue programs;
* check-passwd - scans for empty or duplicate system accounts;
* check-disfree - scans for mounted filesystems nearing capacity;
* check-iptables-logs - scans logs generated by iptables and look
for intrusion attempts.
Be aware that these minimal set of checks are no substitute for a full security auditing and integrity checking system.
In addition to these checks you are encourage to install additional packages (listed in “Recommends”) to provide more information concerning the security or vulnerability of your system.
Installing the suggested package lockfile-progs can help to prevent the cron jobs running multiple times if something gets jammed.
To fix this problem, we can install more using the command below.
sudo apt-get -y install checksecurity
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install checksecurity.
sudo apt -y install checksecurity
Or if you have aptitude installed you can use the following command.
sudo aptitude install checksecurity
Summary
In this tutorial we learn how to fix checksecurity command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.