How it works...

When we use Lynis to audit the system, it first initializes and performs basic checks to determine the operating system and tools. Lynis will then run the enabled plugins and security tests, as per the categories defined

Lynis performs hundreds of tests, which will help in determining the security state of the system.

Once the scan completes, Lynis will report the status of the scan.