RHEL 10 must not have the "gdm" package installed.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-280950 | SRG-OS-000095-GPOS-00049 | RHEL-10-200080 | SV-280950r1165205_rule | 2026-03-11 | 1 |
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