Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- eclipse ide
- MySQL Query
- Eclipse
- linux
- OS X
- IDE
- yum
- Virtuozzo
- Parallels
- java
- RPM
- CentOS5
- apache
- お名前.com
- Windows XP
- Plesk
- mac
- VPS
- 컴퓨터내 파일 검색
- Remote Desktop
- .bash_profile
- server & linux
- CentOS4
- eclipse plugin
- 기도문 (prayers)
- aptana studio
- 맥
- 식별자
- iPhone
- php
Archives
- Today
- Total
n-n
표준 퍼미션 설정에 관련하여 ... 일단 메모 본문
음냐...
지금까지 서버 관리해오면서 무시해오고 있었던 것인데,
왠지 불안한 조짐이 보여서,
표준 퍼미션에 대해서 정보를 찾고 있는 중이다.
우선은 일부분만이라도 퍼미션을 조정하고 나중에 자료 정리를 하도록 하자.
현재 검색해서 보니 자료들이 예전 커널들의 리눅스가 대부분이라,
CentOS 5.2 에서 퍼미션 조정을 하는 과정에서
파일/디렉토리가 존재하지 않는다는 에러가 많이 뜬다... 쩝...
암튼... 잊어버리지 않도록 우선 메모하는 차원으로 자료를 기록하겠다.
검색 결과 기록
linux 보안 퍼미션 - Google 검색
http://www.google.co.kr/search?complete=1&hl=ko&lr=&newwindow=1&q=linux+%EB%B3%B4%EC%95%88+%ED%8D%BC%EB%AF%B8%EC%85%98&start=10&sa=N
재후니의 인터넷 세상 이야기 __ 리눅스 보안 퍼미션 설정 [2002년에 작성했던...]
http://www.jaehun.org/70
BLUE STUDY :: 표준 Permission 설정
http://study.ibluerain.com/41
[root@localhost ~]# chmod 711 /bin
[root@localhost ~]# chmod 700 /boot
[root@localhost ~]# chmod 711 /dev
[root@localhost ~]# chmod 600 /dev/audio*
[root@localhost ~]# chmod 600 /dev/dsp*
[root@localhost ~]# chmod 711 /etc
[root@localhost ~]# chmod 640 /etc/conf.modules
chmod: cannot access `/etc/conf.modules': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 750 /etc/cron.daily/ /etc/cron.hourly/ /etc/cron.monthly/ /etc/cron.weekly/
[root@localhost ~]# chmod 640 /etc/crontab
[root@localhost ~]# chmod 750 /etc/dhcpcd
chmod: cannot access `/etc/dhcpcd': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/esd.conf
[root@localhost ~]# chmod 640 /etc/ftpaccess
chmod: cannot access `/etc/ftpaccess': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ftpconversions
chmod: cannot access `/etc/ftpconversions': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ftpgroups
chmod: cannot access `/etc/ftpgroups': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 650 /etc/ftphosts
chmod: cannot access `/etc/ftphosts': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ftphosts
chmod: cannot access `/etc/ftphosts': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ftpusers
chmod: cannot access `/etc/ftpusers': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/gettydefs
chmod: cannot access `/etc/gettydefs': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/hosts.allow
[root@localhost ~]# chmod 640 /etc/hosts.deny
[root@localhost ~]# chmod 640 /etc/hosts.equiv
chmod: cannot access `/etc/hosts.equiv': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/inetd.conf
chmod: cannot access `/etc/inetd.conf': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 750 /etc/rc.d/init.d/
[root@localhost ~]# chmod 740 /etc/rc.d/init.d/syslog
[root@localhost ~]# chmod 640 /etc/inittab
[root@localhost ~]# chmod 640 /etc/ld.so.conf
[root@localhost ~]# chmod 600 /etc/lilo.conf
chmod: cannot access `/etc/lilo.conf': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/modules.conf
chmod: cannot access `/etc/modules.conf': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 644 /etc/motd
[root@localhost ~]# chmod 640 /etc/printcap
[root@localhost ~]# chmod 644 /etc/profile
[root@localhost ~]# chmod 640 /etc/rc.d/
[root@localhost ~]# chmod 640 /etc/securetty
[root@localhost ~]# chmod 640 /etc/sendmail.cf
chmod: cannot access `/etc/sendmail.cf': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 600 /etc/shutdown.allow
chmod: cannot access `/etc/shutdown.allow': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 644 /etc/ssh_config
chmod: cannot access `/etc/ssh_config': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ssh_host_key
chmod: cannot access `/etc/ssh_host_key': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ssh_host_key.pub
chmod: cannot access `/etc/ssh_host_key.pub': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 644 /etc/ssh_host_key.pub
chmod: cannot access `/etc/ssh_host_key.pub': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/sshd_config
chmod: cannot access `/etc/sshd_config': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/syslog.conf
[root@localhost ~]# chmod 640 /etc/updatedb.conf
[root@localhost ~]# chmod 751 /home/
[root@localhost ~]# chmod 700 /home/samba/
[root@localhost ~]# chmod 751 /lib
[root@localhost ~]# chmod 750 /mnt
[root@localhost ~]# chmod 700 /root
[root@localhost ~]# chmod 751 /sbin
[root@localhost ~]# chmod 1777 /tmp
[root@localhost ~]# chmod 751 /usr
[root@localhost ~]# chmod 751 /usr/*
[root@localhost ~]# chmod 751 /usr/X11R6
[root@localhost ~]# chmod 751 /usr/bin/
[root@localhost ~]# chmod 755 /usr/bin/*
[root@localhost ~]# chmod 751 /usr/sbin/
[root@localhost ~]# chmod 755 /usr/sbin/*
[root@localhost ~]# chmod 755 /var
[root@localhost ~]# chmod 711 /var/log
[root@localhost ~]# chmod 600 /var/log/*
[root@localhost ~]# chmod 771 /var/spool/mail
[root@localhost ~]# chmod 700 /boot
[root@localhost ~]# chmod 711 /dev
[root@localhost ~]# chmod 600 /dev/audio*
[root@localhost ~]# chmod 600 /dev/dsp*
[root@localhost ~]# chmod 711 /etc
[root@localhost ~]# chmod 640 /etc/conf.modules
chmod: cannot access `/etc/conf.modules': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 750 /etc/cron.daily/ /etc/cron.hourly/ /etc/cron.monthly/ /etc/cron.weekly/
[root@localhost ~]# chmod 640 /etc/crontab
[root@localhost ~]# chmod 750 /etc/dhcpcd
chmod: cannot access `/etc/dhcpcd': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/esd.conf
[root@localhost ~]# chmod 640 /etc/ftpaccess
chmod: cannot access `/etc/ftpaccess': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ftpconversions
chmod: cannot access `/etc/ftpconversions': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ftpgroups
chmod: cannot access `/etc/ftpgroups': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 650 /etc/ftphosts
chmod: cannot access `/etc/ftphosts': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ftphosts
chmod: cannot access `/etc/ftphosts': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ftpusers
chmod: cannot access `/etc/ftpusers': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/gettydefs
chmod: cannot access `/etc/gettydefs': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/hosts.allow
[root@localhost ~]# chmod 640 /etc/hosts.deny
[root@localhost ~]# chmod 640 /etc/hosts.equiv
chmod: cannot access `/etc/hosts.equiv': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/inetd.conf
chmod: cannot access `/etc/inetd.conf': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 750 /etc/rc.d/init.d/
[root@localhost ~]# chmod 740 /etc/rc.d/init.d/syslog
[root@localhost ~]# chmod 640 /etc/inittab
[root@localhost ~]# chmod 640 /etc/ld.so.conf
[root@localhost ~]# chmod 600 /etc/lilo.conf
chmod: cannot access `/etc/lilo.conf': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/modules.conf
chmod: cannot access `/etc/modules.conf': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 644 /etc/motd
[root@localhost ~]# chmod 640 /etc/printcap
[root@localhost ~]# chmod 644 /etc/profile
[root@localhost ~]# chmod 640 /etc/rc.d/
[root@localhost ~]# chmod 640 /etc/securetty
[root@localhost ~]# chmod 640 /etc/sendmail.cf
chmod: cannot access `/etc/sendmail.cf': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 600 /etc/shutdown.allow
chmod: cannot access `/etc/shutdown.allow': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 644 /etc/ssh_config
chmod: cannot access `/etc/ssh_config': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ssh_host_key
chmod: cannot access `/etc/ssh_host_key': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/ssh_host_key.pub
chmod: cannot access `/etc/ssh_host_key.pub': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 644 /etc/ssh_host_key.pub
chmod: cannot access `/etc/ssh_host_key.pub': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/sshd_config
chmod: cannot access `/etc/sshd_config': そのようなファイルやディレクトリはありません
[root@localhost ~]# chmod 640 /etc/syslog.conf
[root@localhost ~]# chmod 640 /etc/updatedb.conf
[root@localhost ~]# chmod 751 /home/
[root@localhost ~]# chmod 700 /home/samba/
[root@localhost ~]# chmod 751 /lib
[root@localhost ~]# chmod 750 /mnt
[root@localhost ~]# chmod 700 /root
[root@localhost ~]# chmod 751 /sbin
[root@localhost ~]# chmod 1777 /tmp
[root@localhost ~]# chmod 751 /usr
[root@localhost ~]# chmod 751 /usr/*
[root@localhost ~]# chmod 751 /usr/X11R6
[root@localhost ~]# chmod 751 /usr/bin/
[root@localhost ~]# chmod 755 /usr/bin/*
[root@localhost ~]# chmod 751 /usr/sbin/
[root@localhost ~]# chmod 755 /usr/sbin/*
[root@localhost ~]# chmod 755 /var
[root@localhost ~]# chmod 711 /var/log
[root@localhost ~]# chmod 600 /var/log/*
[root@localhost ~]# chmod 771 /var/spool/mail
시간 날 때 다시 한 번 점검해보자.... 쩝....
'Linux > CentOS 5.x' 카테고리의 다른 글
お名前.com VPS에 yum 설치하기 (0) | 2011.03.06 |
---|---|
[메모] USB HDD 자동 마운트 (0) | 2008.12.13 |
사내 DNS 서버 반응이 무거워지고 나서의 대책 (0) | 2008.12.12 |
smbldap-populate 실행시 에러 (1) | 2008.10.20 |
Comments