mufengs 的个人博客   >   标签墙   >   安全 标签

centos 系统加固脚本 有更新!

2018-12-24
CentOS,安全,Shell 0 评论 24 浏览

运行 curl -L https://github.com/mufengcoding/shell/releases/download/1.1/security.sh | bash 注意只运行一次 ,多次运行可能会gg github地址:https://github.com/mufengcoding/shell/blob/master/security.sh #!/bin/sh # desc: setup linux system security # author:mufengs # powered by blog.mufengs.com # version 0.1.2 written by 2018.11.24 #account setup #锁定以下用户 passwd -l xfs passwd -l news passwd -l nscd passwd -l dbus passwd -l vcsa passwd -l games passwd -l nobody passwd -l avahi passwd -l haldaemon passwd -l gopher passw….