UCF STIG Viewer Logo

X Windows must not be enabled unless required.


Overview

Finding ID Version Rule ID IA Controls Severity
V-219569 OL6-00-000290 SV-219569r793826_rule Medium
Description
Unnecessary services should be disabled to decrease the attack surface of the system.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2021-12-03

Details

Check Text ( C-21294r358247_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-21293r358248_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: