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

The method of using Lynis tool to check system Security in Linux

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article introduces the knowledge about "Linux uses Lynis tools to detect system security". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!

How to use:

Installation:

#apt-get install lynis

uses examples

All checks (most commonly shown in Figure 9):

#lynis --check-all -Q

Figure Working Interface

Automatic check with crontab:

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

Check an item:

#lynis --tests FILE-6354 –quick

Inspection report content:

# grep Warning /var/log/lynis.log

Inspection suggestion content:

# grep Suggestion /var/log/lynis.log

Lynis is a set of system security Detection Tools for various UNIX-based systems. It can identify areas where system security needs to be strengthened and provide many practices and suggestions for improving system security. It is a good tool for system administrators to learn (or review) many system security concepts. Shortcomings: This tool covers the audit content of system security in a comprehensive way, but each audit item is not in-depth and needs specific extensions, such as PHP, Apache, MySQL security configuration, which needs to be refined.

"Linux uses Lynis tools to detect system security" content introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

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

Servers

Wechat

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

12
Report