Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use Lynis, a Linux system audit tool

Shulou Source: shulou.com Published: 2022-06-01 20:53:29 10月03日 Update

This article "Linux system audit tool Lynis how to use" most people do not understand, so the editor summarized the following content, detailed, clear steps, with a certain reference value, I hope you can get something after reading this article, let's take a look at this "Linux system audit tool Lynis how to use" article.

How to use it:

Installation:

# apt-get install lynis

Use examples

Check all (most commonly shown in figure 9):

# lynis-check-all-Q

Graphic working interface

Automatic check with crontab:

# lynis-c-auditor "automated"-cronjob "/ var/log/lynis/report.txt

Check an item:

# lynis-tests FILE-6354-quick

Check the contents of the notice:

# grep Warning / var/log/lynis.log

Review the recommended content:

# grep Suggestion / var/log/lynis.log

Lynis is a set of system security testing tools suitable for all kinds of UNIX based system. The program is constructed by Shell Script. It can find out the areas where system security needs to be strengthened, and at the same time provide many practices and suggestions to improve system security. it is a set of good tools for system managers to learn (or review) many system security concepts. Inadequacies: this tool comprehensively covers the audit content of system security, but each audit item is not in-depth, need specific expansion, such as PHP, Apache,MySQL security configuration, need to be refined.

The above is about the content of this article on "how to use Linux system audit tool Lynis". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.

Tags: Systems content tools security audit inspection recommendations articles knowledge articles practical medium value practices methods of use examples at the same time places most security testing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Microsoft Redmi vpn Apple