Does this mean that selinux is currently enabled on my system?

In /etc/sysconfig/selinux, I set:

  SELINUX=disabled

AND then rebooted the server, but still in phpinfo() the same thing is showing up!

How do I disable it permanently?

(Nothing against selinux, but I have scripts that need to execute other programs - and it appears that selinux is interfering with them... http://serverfault.com/questions/192951/what-permissions-are-needed-to-run-a-system-command-within-a-php-script-that-wr)

Edit 1:

If it helps, I also did the same in: /etc/selinux/config

link|improve this question

71% accept rate
Where? None of my systems that run SELinux show this. – Ignacio Vazquez-Abrams Oct 25 '10 at 7:50
Interesting... it appears below the Environment block for me... and below PHP Variables it shows: _ENV["SELINUX_INIT"] YES – matt74tm Oct 25 '10 at 7:53
How can I check if its actually running? – matt74tm Oct 25 '10 at 7:53
This is something specific to your system/distro, and probably has nothing to do with whether or not SELinux is actually enabled. – Ignacio Vazquez-Abrams Oct 25 '10 at 7:54
The sestatus command will tell you. – Ignacio Vazquez-Abrams Oct 25 '10 at 7:55
show 3 more comments
feedback

1 Answer

up vote 0 down vote accepted

That entry is an environment variable set by the system, and has nothing to do with whether or not SELinux is enabled. The way to check if SELinux is enabled is to run sestatus.

link|improve this answer
Thanks Ignacio - that command helped identify whether selinux was really active or not on my system! – matt74tm Oct 25 '10 at 8:06
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.