lynis

System and security auditing tool. More information: <https://cisofy.com/documentation/lynis/>.

Install

All systems
curl cmd.cat/lynis.sh
Debian Debian
apt-get install lynis
Ubuntu
apt-get install lynis
Arch Arch Linux
pacman -S lynis
image/svg+xml Kali Linux
apt-get install lynis
Fedora
dnf install lynis
Windows (WSL2)
sudo apt-get update sudo apt-get install lynis
OS X
brew install lynis
Raspbian
apt-get install lynis

System and security auditing tool. More information: <https://cisofy.com/documentation/lynis/>.

  • Check that Lynis is up-to-date:
    sudo lynis update info
  • Run a security audit of the system:
    sudo lynis audit system
  • Run a security audit of a Dockerfile:
    sudo lynis audit dockerfile path/to/dockerfile

© tl;dr; authors and contributors