How to do it...

In this section, we will see how to use Lynis to perform a detailed audit of the system security aspects and configurations:

  1. Once Lynis is installed on our system, we can run the lynis command, as follows, to check out more information about the options supported by the tool:

  1. We can check whether this version of Lynis is the latest by running the following command:

We can see in the output that the current version is 211 and the latest version available is 266. If we wish to update the version, we can continue with the steps shown in the output.

  1. Now, we will start the scan to audit our system and identify the gaps by running the following command:

  1. As the scan progresses, we can see the findings of the scan in the output shown here:

  1. In the following output, we can see that Lynis has identified missing modules on the server:

  1. When the scan completes, we can see the summary of the scan, as shown here:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.193.158