Skip to content
Shellbay

Security & Hardening · about 2 min · 6 steps

Linux audit daemon

Installs auditd, which keeps a tamper-resistant record of security events, and watches account, sudo and SSH settings for changes.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported
  • Alpine: supported

What it changes on your server

  • Installs the audit daemon (auditd) and starts it at boot.
  • Adds /etc/audit/rules.d/50-shellbay.rules, which records changes to /etc/passwd, /etc/group, /etc/shadow, sudo's settings and sshd_config.
  • Logs go to /var/log/audit/audit.log, which auditd rotates itself.

What Shellbay asks you

Nothing. This workflow needs no details from you.

Steps

  1. Refresh the package list
  2. Install auditd
  3. Watch important settings
  4. Start auditd and enable it at boot
  5. Load the rules
  6. Check auditing is on

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

When it's done

  • auditd is recording. See who changed an account file with sudo ausearch -k shellbay-identity, or sudo ausearch -k shellbay-sshd for SSH settings.