Preface: Lynis is a security audit and hardening tool for Unix systems that can perform deep security scans. Its purpose is to detect potential incidents and provide suggestions for future system hardening. The software scans for general system information, vulnerable packages, and potential misconfigurations. feature:
Target:
Helps to:
1. Install the software package
You can also install it using the following method
2. Scanning system # lynis audit system or lynis --check-all If you always need to enter the Enter key to execute the above command, you can use the -c and -Q options to skip user input: $ sudo ./lynis -c -Q 3. View logs Logs are saved in /var/log/lynis-report.dat Search for "warning" "suggestion" to find suggestions # grep -E "^warning|^suggestion" /var/log/lynis-report.dat 4. Create Lynis scheduled tasks If you want to create a daily scan report for your system, you can set up cron:
30 22 * * * /usr/bin/lynis -c --auditor "automated" --cronjob > /var/log/lynis/report.txt You may also be interested in:
|
<<: How to set npm to load packages from multiple package sources at the same time
>>: Causes and solutions to the garbled character set problem in MySQL database
Give time time and let the past go. In the previo...
There are significant differences between centos7...
This article shares with you how to use Vue to im...
Starting from this section, we will explain the i...
Table of contents 2. Comma operator 3. JavaScript...
Here are some problems encountered in the use of ...
What we need to pay attention to is that the char...
Welcome to the previous canvas game series: 《VUE ...
When joining a Windows 2008 server subdomain to a...
This article collects 20 excellent web page color ...
Mac node delete and reinstall delete node -v sudo...
This article briefly introduces the relationship ...
This article uses an example to describe the erro...
1. Basic steps 1: Install yarn add vue-i18n Creat...
1. Download MySQL 1. Log in to the official websi...