LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-10-2005, 06:33 PM   #1
m3rajk
LQ Newbie
 
Registered: Dec 2003
Distribution: red hat (7.1 and 9.0)
Posts: 9

Rep: Reputation: 0
trying to make apache talk to mysql with security enhancement on


i used http://fedora.redhat.com/docs/selinux-apache-fc3/ to get apache working without forbidden errors in the common webspace. since the server has several users contributiing to a site, the space is in /var/www/html/

the problem is that php needs to talk to mysql. apache, under se, stops this.
i cannot find a wya to write a policy that isnt there by default.. i know how to manually edit those, but not write something new. i'm looking for help to write something new that would allow me to know how to write a policy to allow mysql calls from apache, and also where to put it.

due to the situation i am in, turning off SE on apache isnt possible. i need it to stop some other things.

does anyone have any reference material tha tmight help? the se space at sourceforge wasnt helpful, nor the nsa write up about how even this fails
 
Old 03-10-2005, 06:54 PM   #2
Does
LQ Newbie
 
Registered: Jan 2005
Location: USA
Distribution: Slackware-current 2.6.10, Mandrake 10.1
Posts: 24

Rep: Reputation: 15
Try:
http://elibrary.fultus.com/technical...n-4/cover.html

Although it's for Red Hat EL 4, it doesn't really matter as it is about SELinux

Peter
 
  


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
allowing apache to talk to mysql on fedora core 3 with security enhancement enabled m3rajk Linux - Security 1 03-15-2005 07:13 PM
Make Apache, PHP5 and MySQL work together on MDK 10.0 krolben Mandriva 2 11-18-2004 09:02 AM
How To make MySql and Apache start at boot time? umeshz Red Hat 1 05-18-2004 02:00 PM
Getting PHP to talk to MySql ? Greenman Linux - General 19 10-01-2003 03:49 PM
getting php and mysql to talk! modestmouse Programming 4 04-04-2003 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:33 AM.

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
Open Source Consulting | Domain Registration