Linux RHEL-10-600560
DISA STIG recommends
RHEL-10-600560 CAT I
RHEL 10 must require users to provide a password for privilege escalation.
NIST SP 800-53: IA-11
Check
Verify RHEL 10 has no occurrences of "NOPASSWD" in "/etc/sudoers" with the following command: $ sudo grep -ir nopasswd /etc/sudoers /etc/sudoers.d/ | grep -v '#' If any occurrences of "NOPASSWD" are returned from the command and have not been documented with the information system security officer as an organizationally defined administrative group using multifactor authentication, this is a finding.
Fix
Configure RHEL 10 to not allow users to execute privileged actions without authenticating with a password. Remove any occurrence of "NOPASSWD" found in the "/etc/sudoers" file or files in the "/etc/sudoers.d" directory: $ sudo find /etc/sudoers /etc/sudoers.d -type f -exec sed -i '/NOPASSWD/ s/^/# /g' {} \;
Our decision
Apply as published
No decision recorded: the recommendation stands. The owner signs in to change it.
All Linux decisions · The Linux baseline · The Linux test plan