$ sudo prt-get depinst checksec
$ sudo prt-get depinst lynis
Lynis gives a view of system overall configuration, without changing default profile it runs irrelevant tests. Create a lynis profile by coping default one and run lynis;
$ sudo cp /etc/lynis/default.prf /etc/lynis/custom.prf $ sudo lynis configure settings color=yes $ sudo lynis show settings $ sudo lynis show profile
$ lynis audit system > lynis_report $ mv /tmp/lynis.log . $ mv /tmp/lynis-report.dat .
Add unnecessary tests to profile to have less noise.
Core OS IndexThis is part of the Hive System Documentation. Copyright (C) 2019 Hive Team. See the file Gnu Free Documentation License for copying conditions.