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
- Refresh the package list
- Install auditd
- Watch important settings
- Start auditd and enable it at boot
- Load the rules
- 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.