OL 9 must not be configured to bypass password requirements for privilege escalation.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-271726 | SRG-OS-000327-GPOS-00127 | OL09-00-002364 | SV-271726r1091890_rule | 2025-05-08 | 1 |
| 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. |
| ℹ️ Check |
|---|
| Verify that OL 9 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. |