SV-230553r646886_rule
V-230553
SRG-OS-000480-GPOS-00227
RHEL-08-040320
CAT II
10
Document the requirement for a graphical user interface with the ISSO or reinstall the operating system without the graphical user interface. If reinstallation is not feasible, then continue with the following procedure:
Open an SSH session and enter the following commands:
$ sudo systemctl set-default multi-user.target
$ sudo yum remove xorg-x11-server-Xorg xorg-x11-server-common xorg-x11-server-utils xorg-x11-server-Xwayland
A reboot is required for the changes to take effect.
Verify that the system 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.
Verify that a graphical user interface is not installed:
$ rpm -qa | grep xorg | grep server
Ask the System Administrator if use of a graphical user interface is an operational requirement.
If the use of a graphical user interface on the system is not documented with the ISSO, this is a finding.
V-230553
False
RHEL-08-040320
Verify that the system 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.
Verify that a graphical user interface is not installed:
$ rpm -qa | grep xorg | grep server
Ask the System Administrator if use of a graphical user interface is an operational requirement.
If the use of a graphical user interface on the system is not documented with the ISSO, this is a finding.
M
2921