Skip to content

Security reference · Free to use

Linux server security checklist

25 audits covering 157 checks across your server, databases, web server and Docker. Every check has the exact command to run, the value that passes, and the fix when it does not.

What does this server run?

Every host has a server layer. Add what else it runs.

Your checklist

7 audits · 45 checks

~76 seconds to run in CtrlOps

13 high · 21 medium · 11 low

Start with SSH & Access

These are not generic recommendations. Every pass, warning and failure threshold is transcribed from the audit script that applies it, and a build check fails if a page and its script ever disagree. Counts here describe the published audit scripts; the CtrlOps desktop app adds its own preflight checks at runtime, so the number it reports for a run is higher.

Audits
25
Checks
157
Categories
4
Agents installed
0

4 categories

Start with what this server runs

Every host has a server layer. Add the database, web server and Docker categories depending on what else it is running.

Getting started

How to work through it

  1. 01

    Pick the category you actually run

    Start with the server itself, then add database, web server or Docker depending on what the host is doing.

  2. 02

    Run the commands by hand

    Every check is ordinary POSIX shell. Each published page gives you the command, the values that pass, and the fix.

  3. 03

    Automate the re-check

    The first audit is the easy part. Drift is what undoes it, so the audit has to run again after every change.

Provenance

Why trust these thresholds?

Because you can check them. Here is the same check, in the script that runs it and on the page that documents it.

In the audit script
##RESULT|PASS|SSH Root Login|HIGH|Root login is disabled
transcribed, then asserted on every buildOn the audit pagePASSThe effective value is noRoot login is disabled entirely.
One check, from the file that runs it to the row you read. The severity, the status and the wording all come from the same place, and the build fails if they stop matching.
  • Thresholds, not opinionsEvery pass, warning and failure value is transcribed from the script that applies it, not from a hardening guide.
  • Guarded against driftnpm run check:checklist fails the build if a page and its audit script ever disagree about a severity or a threshold.
  • Read-only by designEvery check inspects state. Nothing is installed, no service restarts, and nothing is written to the host.
  • Runs on any Linux you haveThe scripts detect the package family themselves, from Ubuntu and Debian through RHEL, Rocky, Alma, SUSE and Alpine.

FAQ

Security checklist questions

Can't find your answer? Join Discord

  • A server security audit checklist is a structured set of configuration checks run against a server to find the settings attackers look for: permissive remote access, over-privileged accounts, exposed services, weak cryptography and missing patches. A useful checklist states not just what to check but the exact value that passes, so two people auditing the same server reach the same conclusion.

  • 157 checks across 25 audits, grouped into four categories: the server itself, databases, web servers and Docker. That count is of the published audit scripts. The CtrlOps desktop app also runs its own preflight checks at runtime, so the number it reports for a run is higher.

  • No. Every check on every page is an ordinary shell command you can paste into a terminal, with the passing value and the fix written out beside it. CtrlOps automates running them across a fleet and scoring the result, but the checklists themselves are the whole method and are free to use.

  • Yes. They are read-only: they parse configuration files and query system state. No package is installed, no service is restarted, nothing is written to the host, and no application data is read. A full category takes seconds of wall-clock time.

  • Any check that reads another account's files or a root-owned configuration file, such as another user's authorized_keys or /etc/sudoers. Each audit lists how many of its checks need root. Checks that cannot read what they need are reported as skipped rather than guessed, so an unprivileged run never reports a false pass.

  • After every change to who has access and after provisioning any new server, then monthly as a baseline for production. The reason is configuration drift rather than new vulnerabilities: a setting relaxed for a quick test is rarely reverted, and nothing on the server reminds you it happened.

Related reading

Stop juggling tools. Start managing fleets.

PuTTY
Termius
MobaXterm
WinSCP
SecureCRT
Royal TS
Warp
CtrlOps14 tools left
Webmin
aaPanel
RunCloud
Dokploy
IP spreadsheet
bash (2)
sticky notes

One app. All your servers. No context switching. Free to start, free to leave.

Start instantly · No credit card · Cancel anytime

Your privacy preferences. We use product analytics to improve CtrlOps. Google Analytics cookies and live chat stay off until you allow them. Cookie policy