SV-219544r603263_rule
V-219544
SRG-OS-000366
OL6-00-000013
CAT II
10
The "gpgcheck" option should be used to ensure checking of an RPM package's signature always occurs prior to its installation. To configure yum to check package signatures before installing them, ensure the following line appears in "/etc/yum.conf" in the "[main]" section:
gpgcheck=1
To determine whether "yum" is configured to use "gpgcheck", inspect "/etc/yum.conf" and ensure the following appears in the "[main]" section:
gpgcheck=1
A value of "1" indicates that "gpgcheck" is enabled. Absence of a "gpgcheck" line or a setting of "0" indicates that it is disabled. If GPG checking is not enabled, this is a finding.
If the "yum" system package management tool is not used to update the system, verify with the SA that installed packages are cryptographically signed.
V-219544
False
OL6-00-000013
To determine whether "yum" is configured to use "gpgcheck", inspect "/etc/yum.conf" and ensure the following appears in the "[main]" section:
gpgcheck=1
A value of "1" indicates that "gpgcheck" is enabled. Absence of a "gpgcheck" line or a setting of "0" indicates that it is disabled. If GPG checking is not enabled, this is a finding.
If the "yum" system package management tool is not used to update the system, verify with the SA that installed packages are cryptographically signed.
M
2928