UCF STIG Viewer Logo

X Windows must not be enabled unless required.


Overview

Finding ID Version Rule ID IA Controls Severity
V-218040 RHEL-06-000290 SV-218040r505923_rule Medium
Description
Unnecessary services should be disabled to decrease the attack surface of the system.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2020-09-03

Details

Check Text ( C-19521r377135_chk )
To verify the default runlevel is 3, run the following command:

# grep initdefault /etc/inittab

The output should show the following:

id:3:initdefault:


If it does not, this is a finding.
Fix Text (F-19519r377136_fix)
Setting the system's runlevel to 3 will prevent automatic startup of the X server. To do so, ensure the following line in "/etc/inittab" features a "3" as shown:

id:3:initdefault: