最强安全加固自动执行脚本2.0

简介: 最强安全加固自动执行脚本2.0

上一期出了安全加固检测脚本,这次再来一个安全加固的自动设置脚本.


先看效果图:

640.png


操作说明:


1、执行ProtectiveScript.sh脚本文件进行加固,命令格式如下

 sudo sh ProtectiveScript.sh

2、执行完成后,请按脚本提示重启相应服务


功能说明:
1、ALL protective            一键进行全部加固
2、Set Password Complexity Requirements 设置密码复杂度
3、Create openroot account        添加openroot账号
4、Set Remote Login Configuration(SSH)    禁止root远程登入
5、Set Shell History and TMOUT        设置history保存行数以及命令时间,设置窗口超时时间
6、Set SSH Port                更改SSH端口
7、Set Logon failure handling        登入失败处理
8、Recover Configuration        还原配置文件
9、Exit

记得帮波哥分享转发哦!~

关注公众号后台回复: 加固执行 即可获得该脚本

相关文章
|
2月前
|
安全 网络安全
CenOS6.5安全加固及性能优化(脚本)
CenOS6.5安全加固及性能优化(脚本)
|
安全 Linux
最强linux安全加固脚本2.0
最强linux安全加固脚本2.0
|
安全 Shell Linux
shell脚本之---一键系统安全加固
shell脚本之---一键系统安全加固
|
安全 Linux
CentOS7一键安全加固及系统优化脚本
CentOS7一键安全加固及系统优化脚本
1153 1
CentOS7一键安全加固及系统优化脚本
|
安全 Linux 网络安全
|
安全 Unix Linux
系统加固之Linux安全加固
系统加固之Linux安全加固
286 0
系统加固之Linux安全加固
|
安全 Linux 数据安全/隐私保护
linux安全加固——账户管理
linux安全加固——账户管理
linux安全加固——账户管理