An XCCDF Group - A logical subset of the XCCDF Benchmark
yum
dnf-automatic
$ sudo yum install dnf-automatic
clean_requirements_on_remove
1
/etc/yum.conf
apply_updates
yes
[commands]
/etc/dnf/automatic.conf
upgrade_type
security
gpgcheck
[main]
gpgcheck=1
localpkg_gpgcheck
/etc/yum.repos.d
gpgcheck=0
repo_gpgcheck
$ sudo subscription-manager register
/media/cdrom
$ sudo rpm --import /media/cdrom/RPM-GPG-KEY
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
$ sudo yum update
rpm
$ sudo systemctl enable dnf-automatic.timer