【文件属性】:
文件名称:CentOS Linux7 安全基线检查 明细
文件大小:71KB
文件格式:PDF
更新时间:2022-04-22 18:24:30
CentOS Linux 系统安全 阿里云基线
CentOS Linux7 安全基线检查
1.设置用户权限配置文件的权限
描述:确保SSH LogLevel设置为INFO,记录登录和注销活动
方案:
执行以下5条命令: chown root:root /etc/passwd /etc/shadow /etc/group /etc/gshadow chmod 0644 /etc/group chmod 0644 /etc/passwd chmod 0400 /etc/shadow chmod 0400 /etc/gshadow