CentOS 5.5 系统安全配置

750 /usr/bin/c++* [root@localhost ~]# chmod 750 /usr/bin/ld [root@localhost ~]# chmod 750 /usr/bin/as [root@localhost ~]# locate sqlaccess /opt/lampp/bin/mysqlaccess [root@localhost ~]# chmod 755 /opt/lampp/bin/mysqlaccess [root@localhost ~]# chattr +a .bash_history [root@localhost ~]# chattr +i .bash_history [root@localhost ~]# chmod 700 /bin/ping [root@localhost ~]# chmod 700 /usr/bin/finger [root@localhost ~]# chmod 700 /usr/bin/who [root@localhost ~]# chmod 700 /usr/bin/w [root@localhost ~]# chmod 700 /usr/bin/locate [root@localhost ~]# chmod 700 /usr/bin/whereis [root@localhost ~]# chmod 700 /usr/bin/vim [root@localhost ~]# chmod 700 /usr/bin/make [root@localhost ~]# chmod 700 /bin/netstat [root@localhost ~]# chmod 700 /usr/bin/tail [root@localhost ~]# chmod 700 /usr/bin/less [root@localhost ~]# chmod 700 /usr/bin/head [root@localhost ~]# chmod 700 /bin/cat [root@localhost ~]# chmod 700 /bin/uname [root@localhost ~]# chmod 500 /bin/ps [root@localhost ~]# chmod 500 /usr/sbin/lsof
原文地址:https://www.cnblogs.com/cnsanshao/p/2158161.html