SV-230236r1137691_rule
V-230236
SRG-OS-000080-GPOS-00048
RHEL-08-010151
CAT II
10
Configure the system to require authentication upon booting into rescue mode by adding the following line to the "/usr/lib/systemd/system/rescue.service" file.
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue
Check to see if the system requires authentication for rescue mode with the following command:
$ sudo grep sulogin-shell /usr/lib/systemd/system/rescue.service
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue
If the "ExecStart" line is configured for anything other than "/usr/lib/systemd/systemd-sulogin-shell rescue", commented out, or missing, this is a finding.
V-230236
False
RHEL-08-010151
Check to see if the system requires authentication for rescue mode with the following command:
$ sudo grep sulogin-shell /usr/lib/systemd/system/rescue.service
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue
If the "ExecStart" line is configured for anything other than "/usr/lib/systemd/systemd-sulogin-shell rescue", commented out, or missing, this is a finding.
M
2921