SV-221699r603260_rule
V-221699
SRG-OS-000080-GPOS-00048
OL07-00-010481
CAT II
10
Configure the operating system to require authentication upon booting into single-user and maintenance modes.
Add or modify the "ExecStart" line in "/usr/lib/systemd/system/rescue.service" to include "/usr/sbin/sulogin":
ExecStart=-/bin/sh -c "/usr/sbin/sulogin; /usr/bin/systemctl --fail --no-block default"
Verify the operating system must require authentication upon booting into single-user and maintenance modes.
Check that the operating system requires authentication upon booting into single-user mode with the following command:
# grep -i execstart /usr/lib/systemd/system/rescue.service | grep -i sulogin
ExecStart=-/bin/sh -c "/usr/sbin/sulogin; /usr/bin/systemctl --fail --no-block default"
If "ExecStart" does not have "/usr/sbin/sulogin" as an option, this is a finding.
V-221699
False
OL07-00-010481
Verify the operating system must require authentication upon booting into single-user and maintenance modes.
Check that the operating system requires authentication upon booting into single-user mode with the following command:
# grep -i execstart /usr/lib/systemd/system/rescue.service | grep -i sulogin
ExecStart=-/bin/sh -c "/usr/sbin/sulogin; /usr/bin/systemctl --fail --no-block default"
If "ExecStart" does not have "/usr/sbin/sulogin" as an option, this is a finding.
M
4089