Lynis
Lynis
create Report
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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
1
2
3
# locations
/var/log/lynis.log
/var/log/lynis-report.dat
references
This post is licensed under CC BY 4.0 by the author.