security scanner: lynis
Posted: Mon Dec 31, 2018 12:17 am
security scanner: lynis
https://packages.cisofy.com/#package
ubunutu install
https://packages.cisofy.com/community/#debian-ubuntu
example usage:
ansi2html is from http://www.pixelbeat.org/docs/terminal_colours/
https://packages.cisofy.com/#package
ubunutu install
https://packages.cisofy.com/community/#debian-ubuntu
Code: Select all
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C80E383C3DE9F082E01391A0366C67DE91CA5D5F
sudo apt install apt-transport-https
echo "deb https://packages.cisofy.com/community/lynis/deb/ stable main" | sudo tee /etc/apt/sources.list.d/cisofy-lynis.list
sudo apt update
sudo apt install lynis
lynis show version
Code: Select all
/usr/sbin/lynis --quick | /path/ansi2html.sh --bg=dark > /reports/lynis.html