Downloads Lynis, a security auditing tool for Unix-like systems.
Note
This script only downloads Lynis. It does not audit, harden, or modify system security settings by itself.
- Bash 4.0 or newer
- Git
- Internet access
- No root privileges required
From the repository root:
./auditing/Lynis\ Installer/lynis-installer.bashOR from the script directory:
./lynis-installer.bashTo run a Lynis system audit:
cd ~/lynis
clear
sudo ./lynis audit systemBefore applying hardening changes, review the Lynis output carefully. Treat its findings as recommendations, not as a replacement for understanding your system’s security posture.
- Ubuntu 24.04, 22.04, 20.04
- Debian 11, 10, 9
See CHANGELOG.md.