# Use non-zero exit code if one or more warningswere found error-on-warnings=0
...
# Upload server (ip or hostname) upload-server=[not configured]
# Data upload after scanning upload=no
# Verbose output verbose=0
# Add --brief to hide descriptions,--configured-only to show configured items only, or --nocolors to remove colors 在执行审计之前去验证一下是否有新版本可用会是一个很好的习惯,因为这样你将能得到最新的建议和信息。你可以通过以下命令来检查更新: $ lynis update info 你将得到类似于如下的输出,它会显示出Lynis的最新版本: Output == Lynis==
Version : 2.4.8 Status : Up-to-date Releasedate : 2017-03-29 Updatelocation : https://cisofy.com/lynis/
[+] File systems ------------------------------------ - Checking mount points - Checking /home mount point [ SUGGESTION ] - Checking /tmp mount point [ SUGGESTION ] - Checking /var mount point [ OK ] - Query swap partitions (fstab) [ NONE ] - Testing swap partitions [ OK ] - Testing /proc mount (hidepid) [ SUGGESTION ] - Checking for old files in /tmp [ OK ] - Checking /tmp sticky bit [ OK ] - ACL support root file system [ ENABLED ] - Mount options of / [ OK ] - Checking Locate database [ FOUND ] - Disable kernel support of somefilesystems - Discovered kernel modules: udf
...
[+] Hardening ------------------------------------ - Installed compiler(s) [ FOUND ] - Installed malware scanner [ NOT FOUND ] - Installed malware scanner [ NOT FOUND ]