Linux / Bash / Security baseline

Linux Health & Security Audit

Read-only Bash audit tool for Debian, Ubuntu, Linux Mint and LMDE systems. It creates timestamped TXT, HTML and JSON reports for workstation health, update status and baseline security review.

Read-only by design

No package installs, removals, firewall changes or service modifications. The script collects information and writes local reports.

Useful reports

Generates TXT, styled HTML and JSON summary output, so the same audit can be used for troubleshooting, documentation and portfolio examples.

Privacy modes

Includes basic and full redaction modes for safer public sharing. Still review output manually, because computers are weird little gossip machines.

Quick start

chmod +x scripts/linux-health-security-audit.sh
./scripts/linux-health-security-audit.sh

# Safer public/report sharing
./scripts/linux-health-security-audit.sh --privacy full --no-ping

Checks

  • Failed services, boot warnings, journal errors and kernel state
  • APT repositories, package update state and kernel policy
  • Firewall status, listening ports, SSH exposure and AppArmor
  • Disk usage, SMART health, battery, firmware and hardware details

Focus areas

Linux MintDebianUbuntuLMDEBashSecurity baselineHTML reportsJSON summary