How to Install and Uninstall checksecurity Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 05,2024

1. Install "checksecurity" package

This is a short guide on how to install checksecurity on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install checksecurity

2. Uninstall "checksecurity" package

Learn how to uninstall checksecurity on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove checksecurity $ sudo apt autoclean && sudo apt autoremove

3. Information about the checksecurity package on Ubuntu 21.04 (Hirsute Hippo)

Package: checksecurity
Architecture: all
Version: 2.0.16+nmu1ubuntu1
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Javier Fernández-Sanguino Peña
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 83
Depends: cron (>= 3.0pl1-74) | anacron, debconf (>= 0.5) | debconf-2.0, perl (>= 5.8.0), util-linux (>= 2.15~rc1-1)
Recommends: logcheck
Suggests: apt-watch | cron-apt, lockfile-progs, tiger, tripwire | integrit | aide | samhain | fcheck, debsecan
Conflicts: lockfile-progs (<< 0.1.7)
Replaces: cron
Filename: pool/main/c/checksecurity/checksecurity_2.0.16+nmu1ubuntu1_all.deb
Size: 22234
MD5sum: fbd66dc4ea9a04f94c05532e43e5cc5e
SHA1: 048cb8157252caa9010698aecfd640e965b864cb
SHA256: d25a0228f3b164f814903e244b6720ab79a2349ec226cddf1df1e403b6f5b257
SHA512: 50b6325f3ed3ab84b9e0f7927338ff9960cdd6d83be5d94a5eca0d07290a075ce358841286970f87dd87613061875605ef810acfdcbe908fe4a8c5818c12bc93
Description-en: basic system security checks
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.
Description-md5: 81ea96b9f33049c4587fcadd8e3ec385