1.22 RHEL-10-200080

Information

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

GROUP ID: V-280950
RULE ID: SV-280950r1165205

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.

Solution

Configure RHEL 10 to not have the "gdm" package installed with the following command:

$ sudo dnf -y remove gdm

See Also

https://workbench.cisecurity.org/benchmarks/26403