Rule ID
SV-258864r933653_rule
Version
V1R1
CCIs
CCI-001749
Installation of any nontrusted software, patches, service packs, device drivers, or operating system components can significantly affect the overall security of the operating system. This requirement ensures the software has not been tampered with and has been provided by a trusted vendor.
At the command line, run the following command to verify software packages are cryptographically verified during installation: # grep gpgcheck /etc/yum.repos.d/* If "gpgcheck" is not set to "1" in any returned file, this is a finding.
Open the file where "gpgcheck" is not set to 1 with a text editor. Add or update the following line: gpgcheck=1