STIGUI
V-274013CAT II — Medium severitySV-274013r1120027_rule

Amazon Linux 2023 must not be configured to bypass password requirements for privilege escalation.

Rule version AZLX-23-001005 · STIG v1 · 2026-08-20

Discussion

Without reauthentication, users may access resources or perform tasks for which they do not have authorization. When operating systems provide the capability to escalate a functional capability, it is critical the user reauthenticate.

Check

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.

Fix

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.

Identifiers

Group ID
V-274013
Group title
SRG-OS-000312-GPOS-00123
Rule ID
SV-274013r1120027_rule
Check ID
C-78104r1120025_chk
Fix ID
F-78009r1120026_fix