SV-269167r1050049_rule
V-269167
SRG-OS-000366-GPOS-00153
ALMA-09-010030
CAT I
10
Configure all software repositories defined in "/etc/yum.repos.d/" to have "gpgcheck" enabled:
$ sed -i 's/gpgcheck\s*=.*/gpgcheck=1/g' /etc/yum.repos.d/*
Verify that all software repositories defined in "/etc/yum.repos.d/" have been configured with "gpgcheck" enabled:
$ grep gpgcheck /etc/yum.repos.d/*.repo
/etc/yum.repos.d/tuxcare-fips.repo:gpgcheck=1
If "gpgcheck" is not set to "1" for all returned lines, this is a finding.
V-269167
False
ALMA-09-010030
Verify that all software repositories defined in "/etc/yum.repos.d/" have been configured with "gpgcheck" enabled:
$ grep gpgcheck /etc/yum.repos.d/*.repo
/etc/yum.repos.d/tuxcare-fips.repo:gpgcheck=1
If "gpgcheck" is not set to "1" for all returned lines, this is a finding.
M
5664