LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SELinux disabled and Redhat? (https://www.linuxquestions.org/questions/linux-newbie-8/selinux-disabled-and-redhat-880891/)

johndev 05-15-2011 05:15 PM

SELinux disabled and Redhat?
 
Would it be a security issue if I disable SELinux in Redhat? I disabled it because I had problem connecting to mysql server which is hosted on another physical box.

Thanks
Little John

Zetec 05-15-2011 05:45 PM

Technically yes. Why not learn how to enable SELinux with MySQL on RedHat?

zunder1990 05-15-2011 06:31 PM

You can look at enable SELinux for every thing but mysql. Take a look at
Code:

getsebool -a
setsebool mysqld


AwesomeMachine 05-15-2011 08:55 PM

Disabling SElinux is like removing the exterior walls of your house because the key doesn't work in the door lock.

John VV 05-15-2011 10:29 PM

today’s SELinux is very easy to use
If i were YOU i would LEARN how to use it .

there are some very nice tools like "selinuxtroubleshooter" that will inform you about problems
and almost every normal everyday program has a rule in the updates from red hat

and SE should have the current rules from RHN

johndev 05-19-2011 01:55 PM

Thanks, you guys. Doing some more research on the web, I was able to connect to mysql with selinux enabled set.


All times are GMT -5. The time now is 05:22 AM.