The Red Hat Enterprise Linux operating system must be configured so that users must provide a password for privilege escalation.
An XCCDF Rule
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. Satisfies: SRG-OS-000373-GPOS-00156, SRG-OS-000373-GPOS-00157, SRG-OS-000373-GPOS-00158
- ID
- SV-204429r861003_rule
- Version
- RHEL-07-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.