LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-15-2011, 06:15 PM   #1
johndev
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.

Thanks
Little John
 
Old 05-15-2011, 06:45 PM   #2
Zetec
Member
 
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
zunder1990
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
Code:
getsebool -a
setsebool mysqld
 
1 members found this post helpful.
Old 05-15-2011, 09:55 PM   #4
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,924

Rep: Reputation: 278Reputation: 278Reputation: 278
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: 16,992

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


Reply


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 ganesh24pal@gmail.com 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


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

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