SV-257818r1044876_rule
V-257818
SRG-OS-000480-GPOS-00227
RHEL-09-213115
CAT II
10
Disable and mask the kdump service on RHEL 9.
To disable the kdump service run the following command:
$ sudo systemctl disable --now kdump
To mask the kdump service run the following command:
$ sudo systemctl mask --now kdump
Verify that the kdump service is disabled in system boot configuration with the following command:
$ sudo systemctl is-enabled kdump
disabled
Verify that the kdump service is not active (i.e., not running) through current runtime configuration with the following command:
$ sudo systemctl is-active kdump
masked
Verify that the kdump service is masked with the following command:
$ sudo systemctl show kdump | grep "LoadState\|UnitFileState"
LoadState=masked
UnitFileState=masked
If the "kdump" service is loaded or active, and is not masked, this is a finding.
V-257818
False
RHEL-09-213115
Verify that the kdump service is disabled in system boot configuration with the following command:
$ sudo systemctl is-enabled kdump
disabled
Verify that the kdump service is not active (i.e., not running) through current runtime configuration with the following command:
$ sudo systemctl is-active kdump
masked
Verify that the kdump service is masked with the following command:
$ sudo systemctl show kdump | grep "LoadState\|UnitFileState"
LoadState=masked
UnitFileState=masked
If the "kdump" service is loaded or active, and is not masked, this is a finding.
M
5551