'selinux'에 해당되는 글 3건

  1. 2008/07/09 selinux
  2. 2008/05/21 selinux setting
  3. 2008/03/04 SELinux setting
블로그 이미지

selinux

Centos/selinux 2008/07/09 18:56
root에 의해서 복사를 한경우 ls -laZ 로 봤더니 root:object_r:user_home_t 로 퍼미션이 되어 버렸다.
설치된 centos로 확인 했더니 user_u:object_r:user_home_dir_t 였었다는 거다
구글등에서 찾았더니 주로 chcon -R -t httpd_user_content_t /home/easys/public_html 이렇게 하라는 것들만 있었다.
하지만 저런 방법으로 절대 안되더라... 뭔가 원인이 다른듯 싶다.
결국 home 디렉토리와 그 안에 있는 각각 개인의 홈 디렉토리에
/sbin/restorecon -v * 명령어를 줬더니만.......된다......^^
-_- 안된다.
각 개인 홈디렉토리 들어가서
/sbin/restorecon -v -R public_html 해주니까 된다..-_-

흐......다른건 다 됬는데.......

trac 페이지가 안 든다...........

chcon -R -t httpd_sys_script_rw_t /var/svn

를 찾아서 간신히 해결 했다....ㅎㅎ
2008/07/09 18:56 2008/07/09 18:56
블로그 이미지

selinux setting

Centos/selinux 2008/05/21 09:15
#/user/bin/setsebool -P ftp_home_dir 1
2008/05/21 09:15 2008/05/21 09:15
블로그 이미지

SELinux setting

Centos/selinux 2008/03/04 01:10

* SELinux의 값 확인
$ stat -Z -c %C /var/www/html
system_u:object_r:httpd_sys_content_t

* SELinux 세팅
chcon -R -u system_u -r object_r -t httpd_sys_content_t /var/www /srv/trac

2008/03/04 01:10 2008/03/04 01:10