SV-257786r1044834_rule
V-257786
SRG-OS-000324-GPOS-00125
RHEL-09-211055
CAT II
10
Configure RHEL 9 to mask the debug-shell systemd service with the following command:
$ sudo systemctl disable --now debug-shell.service
$ sudo systemctl mask --now debug-shell.service
Verify RHEL 9 is configured to mask the debug-shell systemd service with the following command:
$ sudo systemctl status debug-shell.service
debug-shell.service
Loaded: masked (Reason: Unit debug-shell.service is masked.)
Active: inactive (dead)
If the "debug-shell.service" is loaded and not masked, this is a finding.
V-257786
False
RHEL-09-211055
Verify RHEL 9 is configured to mask the debug-shell systemd service with the following command:
$ sudo systemctl status debug-shell.service
debug-shell.service
Loaded: masked (Reason: Unit debug-shell.service is masked.)
Active: inactive (dead)
If the "debug-shell.service" is loaded and not masked, this is a finding.
M
5551