SV-248542r1137691_rule
V-248542
SRG-OS-000080-GPOS-00048
OL08-00-010152
CAT II
10
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
Determine if the system requires authentication for emergency mode with the following command:
$ sudo grep sulogin-shell /usr/lib/systemd/system/emergency.service
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell emergency
If the "ExecStart" line is configured for anything other than "/usr/lib/systemd/systemd-sulogin-shell emergency" or is commented out or missing, this is a finding.
V-248542
False
OL08-00-010152
Determine if the system requires authentication for emergency mode with the following command:
$ sudo grep sulogin-shell /usr/lib/systemd/system/emergency.service
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell emergency
If the "ExecStart" line is configured for anything other than "/usr/lib/systemd/systemd-sulogin-shell emergency" or is commented out or missing, this is a finding.
M
5416