ansible-lockdown / RHEL7-STIG

Ansible role for Red Hat 7 STIG Baseline
MIT License
282 stars 144 forks source link

RHEL-07-040730 Removes X windows when set to false and rhel7stig_gui is true #464

Open layluke opened 4 months ago

layluke commented 4 months ago

Describe the Issue RHEL-07-040730 Removes X windows when set to false and rhel7stig_gui is true

Expected Behavior when RHEL-07-040730 is set to false, X windows remains regardless of any other setting.

Actual Behavior X windows is removed

Control(s) Affected RHEL-07-040730

Additional Notes This may seem a little counter intuitive at first, but X windows can run on a server without needing to be ran at a GUI run level. Some people like to use x-forwarding to forward gui's from a server to their local system via ssh.

Possible Solution Remove rhel7stig_gui as a condition to that will control whether this gets ran or not.