# fixbug_polkit **Repository Path**: shalter/fixbug_polkit ## Basic Information - **Project Name**: fixbug_polkit - **Description**: 修复polkit 漏洞的方案 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2022-02-09 - **Last Updated**: 2023-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 说明 本文档为针对Centos7操作系统的polkit漏洞处理,处理方法:升级polkit至安全版本 为离线状态下的漏洞修复,分为单机修复和批量修复,单机直接执行命令,批量修复需要安装ansible工具. ## 单机修复步骤: 1. 下载升级包 ` git clone https://gitee.com/shalter/fixbug_polkit.git` 2. 进入升级包 ` cd fixfixbug_polkit` 3. 升级polkit ` rpm -Uvh polkit-0.112-26.el7_9.1.x86_64.rpm` ## 批量修复步骤: 1. 下载升级包 ` git clone https://gitee.com/shalter/fixbug_polkit.git` 2. 进入升级包 ` cd fixfixbug_polkit` 3. 升级polkit ` python bugfix_polkit.py`