| 加固项 | 完整性校验 |
|---|---|
| 适用平台 | Linux |
| 风险等级 | 中 |
| 基线 | 关键包完整性无异常 |
RHEL 系
RHEL 系
rpm -Va 2>/dev/null | grep -Ev '^$' | head -30
rpm -V coreutils openssh-server glibc 2>/dev/nullDebian 系
Debian 系
apt-get install -y debsums
debsums -c 2>/dev/null | head -30
dpkg --verify coreutils openssh-server 2>/dev/null | headrpm -V 输出的标记:S 大小/M 权限/5 摘要等变化;配置文件(c)与文档(d)差异常为正常,要看清单。