Anyone good with selinux?

Soldato
Joined
21 Jun 2004
Posts
2,790
Location
Berkshire
I'm trying to study for RHCSA followed by RHCE, and the one thing that I cant quite get my head around is SELinux.

I understand about file contexts, how to set them etc, but the thing I dont get are the Boolean Values. When I set them on my machine, they dont actually seem to do anything. I'm either doing something wrong or perhaps the policy that ships with RHEL6 is broken?!

Example: I've got Apache installed, and PHP installed. In theory if I disable the boolean which allows httpd to use inbuilt scripting, PHP shouldnt work. It still works.. I've also done the same for the boolean which allows Apache to run CGI, and it still works. They are definatley set including in the policyfile, and I've rebooted just incase.

Anyone know what I'm missing ??

Thanks
 
Back
Top Bottom