RHEL-09-212015 - RHEL 9 must disable the ability of systemd to spawn an interactive boot process.

Warning! Audit Deprecated

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

View Next Audit Version

Information

Using interactive or recovery boot, the console user could disable auditing, firewalls, or other services, weakening system security.

Solution

Configure the current GRUB 2 configuration to disable the ability of systemd to spawn an interactive boot process with the following command:

$ sudo grubby --update-kernel=ALL --remove-args="systemd.confirm_spawn"

See Also

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