### edit by ino 2004.11.28
chmod 600 /etc/exports
chmod 600 /etc/fstab
chmod 700 /usr/bin/chage
chmod 700 /usr/bin/wall
chmod 755 /usr/bin/man
chmod 700 /usr/bin/chfn
chmod 700 /usr/bin/write
chmod 700 /usr/sbin/usernetctl
chmod 700 /bin/mount
chmod 700 /bin/umount
chmod 700 /sbin/ifconfig
chmod 700 /sbin/netreport 로 사용을 불가능하게 한다.
chattr +i /etc/fstab와 같이 속성에 Lock을 걸어 파일을 수정 할 수 없게 한다.
wheel 권한 설정
chmod 750 /bin/ps
chmod 750 /bin/netstat
chmod 750 /bin/dmesg
chmod 750 /bin/df
chmod 750 /usr/bin/who
chmod 750 /usr/bin/finger
chmod 750 /usr/bin/last
chmod 750 /usr/bin/top
chmod 750 /usr/bin/w
chmod 750 /usr/bin/pstree
chgrp wheel /bin/ps
chgrp wheel /bin/netstat
chgrp wheel /bin/dmesg
chgrp wheel /bin/df
chgrp wheel /usr/bin/w
chgrp wheel /usr/bin/who
chgrp wheel /usr/bin/finger
chgrp wheel /usr/bin/last
chgrp wheel /usr/bin/top
chgrp wheel /usr/bin/pstree
다른 사용자가 엑세스 못하게 -->
chmod 701 /home; chown root.wheel /home

ino
04-11-28 17:02
0개
2,771회
안녕 설치후 파일 퍼미션 정리
댓글목록
등록된 댓글이 없습니다.