AlmaLinux OS 9 must not have the cups package installed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-269339SRG-OS-000095-GPOS-00049ALMA-09-029390SV-269339r1050221_rule2025-02-201
Description
The cups package provides printer drivers as well as a print server, webserver, and discovery mechanisms. Removing the package reduces the potential attack surface.
ℹ️ Check
Verify that the cups package is not installed with the following command: $ dnf list –installed cups Error: No matching Packages to list If the "cups" package is installed, this is a finding.
✔️ Fix
Remove the cups package with the following command: $ dnf remove cups