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
First of all, the blogger is playing the communit...
After starting Docker, let's take a look at t...
Install First you need to install Java and Scala,...
Table of contents 1. BOM Introduction 1. JavaScri...
Introduction To put it simply, tcpdump is a packe...
The specific code for JavaScript to implement the...
The Meta tag is an auxiliary tag in the head area...
CSS combination selectors include various combina...
Table of contents Symbol Data Type The reason why...
1. Question: I have been doing insert operations ...
dl:Definition list Definition List dt:Definition t...
It is not possible to use width and height directl...
Table of contents Features Advantages Installatio...
Chapter 1 <br />The most important principl...
Now .net core is cross-platform, and everyone is ...