{"id":1279,"date":"2020-10-21T07:54:24","date_gmt":"2020-10-21T07:54:24","guid":{"rendered":"\/blog\/?p=1279"},"modified":"2020-10-21T08:23:33","modified_gmt":"2020-10-21T08:23:33","slug":"refresh-security-yum-info","status":"publish","type":"post","link":"\/blog\/index.php\/refresh-security-yum-info\/","title":{"rendered":"Refresh security yum info"},"content":{"rendered":"<p>First, refresh all security info<\/p>\n<p><code>subscription-manager refresh<br \/>\nyum clean all<br \/>\nyum repolist<br \/>\nyum updateinfo summary<br \/>\nyum updateinfo list security<br \/>\nyum updateinfo list available<br \/>\nyum updateinfo list bugzillas<br \/>\nyum updateinfo list security all<br \/>\nyum updateinfo list sec<br \/>\n<\/code><\/p>\n<p>Then you can apply only security updates<\/p>\n<p><code>yum --security update<\/code><\/p>\n<p>If you have the CVEs in a file<\/p>\n<p><code>yum -y update `cat cves |while read c;do echo \" --cve $c \";done|xargs`<\/code><\/p>\n<p>reference: https:\/\/access.redhat.com\/solutions\/10021<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, refresh all security info subscription-manager refresh yum clean all yum repolist yum updateinfo summary yum updateinfo list security yum updateinfo list available yum updateinfo list bugzillas yum updateinfo list security all yum updateinfo list sec Then you can apply only security updates yum &#8211;security update If you have the CVEs in a file yum [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1279","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1279"}],"version-history":[{"count":5,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1279\/revisions"}],"predecessor-version":[{"id":1284,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1279\/revisions\/1284"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1279"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}