1.12 RHEL-09-212015

Information

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

GROUP ID: V-257788
RULE ID: SV-257788r1044838

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://workbench.cisecurity.org/benchmarks/22008