RHEL 9 must disable the ability of systemd to spawn an interactive boot process.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-257788 | SRG-OS-000480-GPOS-00227 | RHEL-09-212015 | SV-257788r1044838_rule | 2026-02-05 | 2 |
Description
Using interactive or recovery boot, the console user could disable auditing, firewalls, or other services, weakening system security.
ℹ️ Check
Verify that GRUB 2 is configured to disable interactive boot.
Check that the current GRUB 2 configuration disables the ability of systemd to spawn an interactive boot process with the following command:
$ sudo grubby --info=ALL | grep args | grep 'systemd.confirm_spawn'
If any output is returned, this is a finding.
✔️ Fix
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"