LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   SELINUX configuration help... (https://www.linuxquestions.org/questions/linux-server-73/selinux-configuration-help-479329/)

stanford 09-01-2006 12:29 AM

SELINUX configuration help...
 
Can anyone tell how to configure SELINUX.. I need to open ports.. When I try to disable SELINUX most of my ports in nmap is blocked. I need to run my web server.. I can't just disable SELINUX, I need to find a way. Please help!!! tnx..

Zepiroth 09-01-2006 01:09 AM

Disable SELinux on Fedora Core.
 
dear Stanford,

If you are using Fedora Core :

1. edit /etc/selinux/config
2. edit a line : SELINUX=
3. change it to : SELINUX=disabled

then reboot the machine.

stanford 09-01-2006 01:43 AM

yes. I have done that and the web server and other application runs perfectly. But I need to enable SELINUX and run web server and application at the same time. The ports are being closed I think by the SELINUX.
How can I configure the SELINUX to allow all of this?

Zepiroth 03-21-2007 05:58 AM

dear Stanford,

port blocking is not SE Linux's part.
You can check your firewall settings.

pls type :
# iptables -F INPUT


this will flush all of the firewall settings.


All times are GMT -5. The time now is 07:44 PM.