From 80f7fe5e72ba00fc5fce9e4f1f50eaad7159084e Mon Sep 17 00:00:00 2001 From: MeiChen <13316899740@163.com> Date: Mon, 9 Oct 2023 04:49:26 +0800 Subject: [PATCH 1/2] 2134234 --- README.md | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 6d0ada0..05a4ea7 100644 --- a/README.md +++ b/README.md @@ -22,17 +22,16 @@ sudo sh CentOS_Check_Script.sh | tee check_`date +%Y%m%d_%H%M%S`.txt 此脚本是按三级等保要求,编写的一键检查脚本,此脚本只适合linux分支中的redhat、centos,运行脚本将结果输出到自定义的文件中,脚本结果需要人为检查。 此检查脚本包含以下几块内容: -- 系统基本信息 -- 资源使用情况 -- 系统用户情况 -- 身份鉴别安全 -- 访问控制安全 -- 安全审计 -- 剩余信息保护 -- 入侵防范安全 -- 恶意代码防范 -- 资源控制安全 - +* 系统基本信息 +* 资源使用情况 +* 系统用户情况 +* 身份鉴别安全 +* 访问控制安全 +* 安全审计 +* 剩余信息保护 +* 入侵防范安全 +* 恶意代码防范 +* 资源控制安全 ---- @@ -45,6 +44,7 @@ README.txt ``` **操作说明** + ```bash #执行CentOS_Protective_Script.sh脚本文件进行加固,命令格式如下 sudo sh CentOS_Protective_Script.sh @@ -52,13 +52,11 @@ sudo sh CentOS_Protective_Script.sh ``` **功能说明** -- 一键进行全部加固 -- 设置密码复杂度 -- 添加openroot账号 -- 禁止root远程登入 -- 设置history保存行数以及命令时间,设置窗口超时时间 -- 更改SSH端口 -- 登入失败处理 -- 还原配置文件 - - +* 一键进行全部加固 +* 设置密码复杂度 +* 添加openroot账号 +* 禁止root远程登入 +* 设置history保存行数以及命令时间,设置窗口超时时间 +* 更改SSH端口 +* 登入失败处理 +* 还原配置文件 From a4906c46875f2954403f4ef9cf1728eff8c62889 Mon Sep 17 00:00:00 2001 From: MeiChen <13316899740@163.com> Date: Mon, 9 Oct 2023 04:49:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 05a4ea7..2afaee0 100644 --- a/README.md +++ b/README.md @@ -60,3 +60,4 @@ sudo sh CentOS_Protective_Script.sh * 更改SSH端口 * 登入失败处理 * 还原配置文件 +* 测是效果 \ No newline at end of file