Results 1 to 2 of 2
Hi I am working on securing apache web server using SELinux on RHEL 5. By default Apache server is installed with OS and when the SElinux is enabled, the httpd_t ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-10-2011 #1Just Joined!
- Join Date
- May 2010
- Posts
- 1
reuse Selinux Policy
Hi I am working on securing apache web server using SELinux on RHEL 5. By default Apache server is installed with OS and when the SElinux is enabled, the httpd_t domain/policy is applied. In my case, we are not using the default apache webserver, instead, we are uninstalling the default webserver and we are compiling it from source. The location of the webserver is /usr/local/apache2214. By default the default SElinux type assigned for all the files/directories under /usr is usr_t. I now want to assign the httpd_t(apache server domain/type) to the my own apache installed at /usr/local/apache2214. I want to reuse the existing selinux rules on my apache.
- 08-11-2011 #2
Have a look at Writing SE Linux policy HOWTO
I would shy away from reusing policy that were written for a different setup to avoid future problems.


Reply With Quote
