AlmaLinux OS 9 must not be configured to bypass password requirements for privilege escalation.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-269361SRG-OS-000327-GPOS-00127ALMA-09-032140SV-269361r1050244_rule2025-02-201
Description
Without re-authentication, 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 re-authenticate.
ℹ️ Check
Verify the operating system is not configured to bypass password requirements for privilege escalation with the following command: $ grep pam_succeed_if /etc/pam.d/sudo If any occurrences of "pam_succeed_if" are returned, this is a finding.
✔️ Fix
Configure the operating system to require users to supply a password for privilege escalation. Remove any occurrences of " pam_succeed_if " in the "/etc/pam.d/sudo" file.