OL09-00-000020 - OL 9 must be configured so that the graphical display manager is not the default target unless approved.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Unnecessary service packages must not be installed to decrease the attack surface of the system. Graphical display managers have a long history of security vulnerabilities and must not be used unless approved and documented.

Solution

Configure OL 9 to boot to the command line.

Set the default target to multi-user with the following command:
$ sudo systemctl set-default multi-user.target

If there is an operational requirement for a graphical user interface, document it with the ISSO.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_9_V1R4_STIG.zip