Fun with Bash. Patch status script for RPM based systems.
The script below is a Patch Status script for rpm based systems (Redhat, Centos, Fedora, etc.) You must query a known good, fully patched server. Query this server with “rpm -qa” and pipe it to a “current.txt” file. Your servers are pulled from “hosts.txt” file. Each IP address is on it’s own line in this file. Also this will only work (without typing 300 passwords over and over) with Public Key Authentication in place, and NOPASSWD option…