设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 手机 数据 公司
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

如何在CentOS或RHEL系统上检查可用的安全更新?(4)

发布时间:2019-06-05 18:52 所属栏目:117 来源:Magesh Maruthamuthu
导读:跟之前类似,你可以只查询那些通过 CVE 释出的系统漏洞: # yum updateinfo list cves Loaded plugins: changelog, package_upload, product-id, search-disabled-repos, : subscription-manager, verify, versionl

跟之前类似,你可以只查询那些通过 CVE 释出的系统漏洞:

  1. # yum updateinfo list cves
  2.  
  3. Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,
  4. : subscription-manager, verify, versionlock
  5. CVE-2018-15688 Important/Sec. NetworkManager-1:1.12.0-8.el7_6.x86_64
  6. CVE-2018-15688 Important/Sec. NetworkManager-adsl-1:1.12.0-8.el7_6.x86_64
  7. CVE-2018-15688 Important/Sec. NetworkManager-bluetooth-1:1.12.0-8.el7_6.x86_64
  8. CVE-2018-15688 Important/Sec. NetworkManager-config-server-1:1.12.0-8.el7_6.noarch
  9. CVE-2018-15688 Important/Sec. NetworkManager-glib-1:1.12.0-8.el7_6.x86_64
  10. CVE-2018-15688 Important/Sec. NetworkManager-libnm-1:1.12.0-8.el7_6.x86_64
  11. CVE-2018-15688 Important/Sec. NetworkManager-ppp-1:1.12.0-8.el7_6.x86_64
  12. CVE-2018-15688 Important/Sec. NetworkManager-team-1:1.12.0-8.el7_6.x86_64

你也可以查看那些跟 bug 修复相关的更新,运行下面的命令:

  1. # yum updateinfo list bugfix | less
  2.  
  3. Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,
  4. : subscription-manager, verify, versionlock
  5. RHBA-2018:3349 bugfix NetworkManager-1:1.12.0-7.el7_6.x86_64
  6. RHBA-2019:0519 bugfix NetworkManager-1:1.12.0-10.el7_6.x86_64
  7. RHBA-2018:3349 bugfix NetworkManager-adsl-1:1.12.0-7.el7_6.x86_64
  8. RHBA-2019:0519 bugfix NetworkManager-adsl-1:1.12.0-10.el7_6.x86_64
  9. RHBA-2018:3349 bugfix NetworkManager-bluetooth-1:1.12.0-7.el7_6.x86_64
  10. RHBA-2019:0519 bugfix NetworkManager-bluetooth-1:1.12.0-10.el7_6.x86_64
  11. RHBA-2018:3349 bugfix NetworkManager-config-server-1:1.12.0-7.el7_6.noarch
  12. RHBA-2019:0519 bugfix NetworkManager-config-server-1:1.12.0-10.el7_6.noarch

要想得到待安装更新的摘要信息,运行这个:

  1. # yum updateinfo summary
  2. Loaded plugins: changelog, package_upload, product-id, search-disabled-repos, subscription-manager, verify, versionlock
  3. rhel-7-server-rpms | 2.0 kB 00:00:00
  4. Updates Information Summary: updates
  5. 13 Security notice(s)
  6. 9 Important Security notice(s)
  7. 3 Moderate Security notice(s)
  8. 1 Low Security notice(s)
  9. 35 Bugfix notice(s)
  10. 1 Enhancement notice(s)
  11. updateinfo summary done

如果只想打印出低级别的安全更新,运行下面这个命令。类似的,你也可以只查询重要级别和中等级别的安全更新。

  1. # yum updateinfo list sec | grep -i "Low"
  2.  
  3. RHSA-2019:0201 Low/Sec. libgudev1-219-62.el7_6.3.x86_64
  4. RHSA-2019:0201 Low/Sec. systemd-219-62.el7_6.3.x86_64
  5. RHSA-2019:0201 Low/Sec. systemd-libs-219-62.el7_6.3.x86_64
  6. RHSA-2019:0201 Low/Sec. systemd-sysv-219-62.el7_6.3.x86_64

(编辑:ASP站长网)

网友评论
推荐文章
    热点阅读