X Windows must not be enabled unless required.

From Red Hat Enterprise Linux 6 Security Technical Implementation Guide

Part of SRG-OS-000248

Associated with: CCI-001436

SV-50475r1_rule X Windows must not be enabled unless required.

Vulnerability discussion

Unnecessary services should be disabled to decrease the attack surface of the system.

Check content

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

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:

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer