1.96 ALMA-09-013550

Information

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

GROUP ID: V-269199
RULE ID: SV-269199r1050081

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

Solution

Configure AlmaLinux OS 9 to disable the ability of systemd to spawn an interactive boot process with the following command:

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

See Also

https://workbench.cisecurity.org/benchmarks/27039