AlmaLinux 9 Walkthrough¶
Vagrant VM: almalinux | Box: almalinux/9 | IP: 192.168.56.13 | Family: Red Hat
Supported Tools¶
| Tool | Status | Notes |
|---|---|---|
| OpenSCAP | ✅ Supported | Packages: openscap-scanner, scap-security-guide (via dnf) |
| Lynis | ✅ Supported | Packages: epel-release, lynis (via dnf) |
| USG | ❌ Not available | Ubuntu-only tool |
| CIS-CAT Lite | ✅ Supported | Downloaded from CIS Workbench |
VM Setup¶
Running the Tool¶
sudo cis-hardening-tool --version
sudo cis-hardening-tool doctor
sudo cis-hardening-tool tools install --yes
sudo cis-hardening-tool scan --tools lynis,openscap --non-interactive --export pdf --output /tmp/almalinux_report.pdf
Platform-Specific Notes¶
- Package Manager: Uses
dnfwith--allowerasingflag for conflict resolution - EPEL: Required for Lynis (
epel-releasepackage installed automatically) - OpenSCAP SSG: Uses
scap-security-guidefrom RHEL repos - SSG Content:
/usr/share/xml/scap/ssg/content/ssg-almalinux9-ds.xml - Python: Ships with Python 3.9
- Memory: VM configured with 2048 MB (more than Debian-family due to heavier base)