Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Lynis, a Linux system audit tool

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report