RHEL 10 must not have the "gdm" package installed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-280950SRG-OS-000095-GPOS-00049RHEL-10-200080SV-280950r1165205_rule2026-03-111

Description

Unnecessary service packages must not be installed to decrease the attack surface of the system. A graphical environment is unnecessary for certain types of systems including a virtualization hypervisor.

ℹ️ Check

Verify RHEL 10 does not have the "gdm" package installed with the following command: $ sudo dnf list --installed gdm Error: No matching Packages to list If the "gdm" package is installed and the need for a GUI interface has not been documented with the information system security officer, this is a finding.

✔️ Fix

Configure RHEL 10 to not have the "gdm" package installed with the following command: $ sudo dnf -y remove gdm