One template, whole fleet
Define the login banner once. Every host is compared against it, so they stay identical.
RHEL 9 fleet tooling · over SSH
Standardize the login banner across the fleet. Audit /etc/motd, /etc/issue, and dynamic motd.d against one template, and bring drifting hosts back in line.
linux-motd discover -H hosts.txt -u sa.vko --template motd.tmpl --ask-ssh-pass --sudo-pass-same-as-ssh web01.zav-mb.loc motd drift issue drift banner ok db01.zav-mb.loc matches template legacy01.zav-mb.loc no warning banner Plan: motd_plan.json Report: motd_report.xlsx Totals: 2 hosts drifting, 1 missing warning banner
How it works
read motd/issue vs the template
see drift and missing banners
write the template, per host
What it does
Define the login banner once. Every host is compared against it, so they stay identical.
Flags hosts missing a required legal notice in /etc/issue and /etc/issue.net, the login-banner compliance controls.
Accounts for /etc/motd.d fragments and update-motd, not just the static file.
Writes the banner with per-host confirmation and keeps a backup. Read-only until you approve.
Output
A formatted Excel workbook plus a machine-readable JSON plan. Sheets:
Safety
apply writes the banner with per-host confirmation and keeps a backup. Nothing changes on a host until you approve it.
The rest of the family