The Oracle Linux operating system must be configured so that users must provide a password for privilege escalation.
An XCCDF Rule
Description
Without reauthentication, users may access resources or perform tasks for which authorization has not been granted. 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
- ID
- SV-221692r1015185_rule
- Version
- OL07-00-010340
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure the operating system to require users to supply a password for privilege escalation.
Check the configuration of the "/etc/sudoers" file with the following command:
$ sudo visudo
Remove any occurrences of "NOPASSWD" tags in the file.