====== SELinux ====== * Linux 보안 모듈 * 주로 [[linux:redhat|]] 계열 리눅스에서 기본으로 설치됨. * see [[linux:apparmor|AppArmor]] * [[https://www.redhat.com/ko/topics/linux/what-is-selinux|SELinux란? SELinux 개념, 설정, 확인 및 사용법을 설명합니다.]] * [[https://lesstif.gitbook.io/web-service-hardening/selinux|보안 강화 리눅스(SELinux) - web service hardening]] * [[http://www.cyberciti.biz/faq/howto-disable-httpd-selinux-security-protection/|Apache HTTPD SELinux 끄기]] * 영구 설정 ''vi /etc/selinux/targeted/booleans'' httpd_disable_trans=1 * 일시 설정 setsebool httpd_disable_trans 1 /etc/init.d/httpd restart * DB 접속 권한 설정 setsebool httpd_can_network_connect_db on