create Report
# clone lynis
cd /usr/local
git clone https://github.com/CISOfy/lynis
cd lynis
# Start Report
## unprivileged User
./lynis audit system
## privileged user
sudo ./lynis audit system
## Quick scan
./lynis audit system --quick
## Forensic scan
./lynis audit system --forensics
## Pentest scan
$ lynis audit system --pentest
## better readable output
./lynis audit system >> lynis-readable.txt
./ynis audit system | aha > report-<host>-<os>.html
view reports
# locations
/var/log/lynis.log
/var/log/lynis-report.dat
references