Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-15-2011, 06:15 PM   #1
LQ Newbie
Registered: May 2011
Posts: 3

Rep: Reputation: 0
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.

Little John
Old 05-15-2011, 06:45 PM   #2
Registered: Jul 2006
Distribution: Debian, Ubuntu, W7, openSUSE, Centos
Posts: 152

Rep: Reputation: 25
Technically yes. Why not learn how to enable SELinux with MySQL on RedHat?
Old 05-15-2011, 07:31 PM   #3
LQ Newbie
Registered: Feb 2011
Posts: 29

Rep: Reputation: 3
You can look at enable SELinux for every thing but mysql. Take a look at
getsebool -a
setsebool mysqld
1 members found this post helpful.
Old 05-15-2011, 09:55 PM   #4
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,278

Rep: Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587
Disabling SElinux is like removing the exterior walls of your house because the key doesn't work in the door lock.
Old 05-15-2011, 11:29 PM   #5
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,245

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
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
Old 05-19-2011, 02:55 PM   #6
LQ Newbie
Registered: May 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, you guys. Doing some more research on the web, I was able to connect to mysql with selinux enabled set.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot hangs after SELinux: Disabled at runtime DaveJL Linux - Software 6 06-23-2014 07:56 AM
RedHat 6 / Chroot / SeLinux - Not working macking Linux - Software 10 01-18-2011 12:00 PM
ubuntu server SELinux is disabled Linux - Server 1 11-18-2010 07:00 AM
How can I disabled SELinux? abefroman Linux - Kernel 3 09-17-2006 11:22 AM
getsebool: SELinux is disabled ?? dansawyer Linux - Security 4 09-14-2006 04:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration