1.5 RHEL-09-211030

Information

The graphical display manager must not be the default target on RHEL 9 unless approved.

GROUP ID: V-257781
RULE ID: SV-257781r991589

Unnecessary service packages must not be installed to decrease the attack surface of the system. Graphical display managers have a long history of security vulnerabilities and must not be used, unless approved and documented.

Solution

Document the requirement for a graphical user interface with the ISSO or set the default target to multi-user with the following command:

$ sudo systemctl set-default multi-user.target

See Also

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