STIGUI
V-257781CAT II — Medium severitySV-257781r1268251_rule

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

Rule version RHEL-09-211030 · STIG v2 · 2026-09-17

Discussion

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.

Check

Verify that RHEL 9 is configured to boot to the command line:

$ systemctl get-default

multi-user.target

If the system default target is not set to "multi-user.target" and the information system security officer (ISSO) lacks a documented requirement for a graphical user interface, this is a finding.

Fix

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

Identifiers

Group ID
V-257781
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-257781r1268251_rule
Check ID
C-61522r925328_chk
Fix ID
F-61446r925329_fix