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
posted on 2011-08-29 14:15 cn三少<script></script> 阅读(204) 评论(0) 编辑 收藏 举报