| 加固项 | 版本管理 |
|---|---|
| 适用平台 | Linux |
| 风险等级 | 低 |
| 基线 | 锁定项有审批与复核 |
RHEL 系
RHEL 系
yum install -y yum-plugin-versionlock
yum versionlock add nginx
yum versionlock list
# 解除:yum versionlock delete nginxDebian 系
Debian 系
apt-mark hold nginx
apt-mark showhold
sudo apt-mark unhold nginx锁定会阻断安全补丁:每次公告评估时单独判断“这个锁是否仍必要”,否则锁着锁着漏了漏洞。