안녕하세요..!!
아래쪽을 봐주세요!!
chmod 711 /bin
chmod 711 /boot
chmod 711 /dev
chmod 711 /home
chmod 711 /lib
chmod 711 /mnt
chmod 711 /sbin
chmod 711 /usr
chmod 711 /var
chmod 711 /etc
chmod 711 /usr/bin
chmod 711 /usr/sbin
chmod 711 /usr/local
chmod 711 /usr/share
chmod 711 /usr/local/apache
chmod 711 /usr/local/mysql
chmod 711 /usr/local/apache/conf
chmod 600 /usr/local/apache/conf/*
chmod 711 /usr/local/mysql/data
chmod 711 /etc/mail
chmod 711 /etc/proftpd
chmod 711 /etc/rc.d
chmod 700 /usr/bin/finger
chmod 700 /usr/bin/nslookup
chmod 700 /usr/bin/suidperl
chmod 700 /usr/bin/whereis
chmod 700 /usr/bin/sperl5.00503
chmod 700 /usr/bin/pstree
chmod 700 /usr/bin/rlog
chmod 700 /usr/bin/rlogin
chmod 700 /usr/bin/which
chmod 700 /usr/bin/who
chmod 700 /usr/bin/w
chmod 700 /usr/bin/top
chmod 700 /usr/bin/find
chmod 700 /usr/bin/free
chmod 700 /usr/bin/df
chmod 4750 /bin/su
chmod 700 /usr/bin/w
chmod 700 /usr/sbin/dump
chmod 700 /usr/bin/mc
rm -fr /tmp
ln -s /var/tmp /tmp
echo > .rhsots
chmod 644 /tmp/.rhosts
어디선가 기본 퍼미션 보안을 보고 아래와 같이 퍼미션을 변경하였는데..
su 가 안대는 바람에.....다시 퍼미션을 다 다시 바껐습니다..
그런데두 안대더군요 그래서 su 관련 퍼미션을 777로 바꿨는데..
su: cannot set groups: Operation not permitted
이런 에러가 나더군요...ㅠ.ㅠ
아시는분 꼭 리플때려주세요...그럼 수고하세요..(-.-)(_ _)--이 곳에 서명을 적어주십시오.
^_______^;