The OL 8 operating system must not be configured to bypass password requirements for privilege escalation.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-252656SRG-OS-000373-GPOS-00156OL08-00-010385SV-252656r1050789_rule2025-02-202
Description
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. Satisfies: SRG-OS-000373-GPOS-00156, SRG-OS-000373-GPOS-00157, SRG-OS-000373-GPOS-00158
ℹ️ Check
Verify the operating system is not be configured to bypass password requirements for privilege escalation. Check the configuration of the "/etc/pam.d/sudo" file with the following command: $ sudo grep pam_succeed_if /etc/pam.d/sudo If any occurrences of "pam_succeed_if" is returned from the command, this is a finding.
✔️ Fix
Configure the operating system to require users to supply a password for privilege escalation. Check the configuration of the "/etc/ pam.d/sudo" file with the following command: $ sudo vi /etc/pam.d/sudo Remove any occurrences of " pam_succeed_if " in the file.