Skip to content
Shellbay

Security & Hardening · about 5 min · 4 steps

Lynis security audit

Audits the server's configuration and lists warnings and suggestions with a hardening score. It changes no settings.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported — Uses EPEL on RHEL-compatible systems.
  • Alpine: not available — Alpine doesn't package Lynis.

What it changes on your server

  • Installs Lynis (from EPEL on RHEL-compatible systems).
  • Runs an audit and writes /var/log/lynis.log and /var/log/lynis-report.dat. No other settings change.

What Shellbay asks you

Nothing. This workflow needs no details from you.

Steps

  1. Prepare packages
  2. Install Lynis
  3. Audit the server
  4. Summarize the findings

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • Open Output for the hardening index, warnings and suggestions. The full report is in /var/log/lynis.log; run the workflow again after changes to compare.