SV-274013r1120027_rule
V-274013
SRG-OS-000312-GPOS-00123
AZLX-23-001005
CAT II
10
Configure Amazon Linux 2023 to require users to supply a password for privilege escalation.
Remove any occurrences of "pam_succeed_if " in the "/etc/pam.d/sudo" file.
Verify Amazon Linux 2023 is not configured to bypass password requirements for privilege escalation with the following command:
$ sudo grep pam_succeed_if /etc/pam.d/sudo
If any occurrences of "pam_succeed_if" are returned, this is a finding.
V-274013
False
AZLX-23-001005
Verify Amazon Linux 2023 is not configured to bypass password requirements for privilege escalation with the following command:
$ sudo grep pam_succeed_if /etc/pam.d/sudo
If any occurrences of "pam_succeed_if" are returned, this is a finding.
M
5700