Information
OL 8 operating systems must require authentication upon booting into emergency mode.
GROUP ID: V-248542
RULE ID: SV-248542r958472
If the system does not require valid root authentication before it boots into emergency or rescue mode, anyone who invokes emergency or rescue mode is granted privileged access to all files on the system.
Solution
Configure the system to require authentication upon booting into emergency mode by adding the following line to the "/usr/lib/systemd/system/emergency.service" file:
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell emergency