1.7.10 Ensure XDCMP is not enabled
Audit#
Run the following command and verify the output:
Remediation#
Edit all files returned by the audit and remove or commend out the Enable=true line in the [xdmcp] block: Example file:
# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.
[daemon]
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false
# Enabling automatic login
# AutomaticLoginEnable = true
# AutomaticLogin = user1
# Enabling timed login
# TimedLoginEnable = true
# TimedLogin = user1
# TimedLoginDelay = 10
[security]
[xdmcp]
# Enable=true <- **This line should be removed or commented out**
[chooser]
[debug]
# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes
#Enable=true
Default Value: false (This is denoted by no Enabled= entry in the [xdmcp] block