LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-01-2006, 12:29 AM   #1
stanford
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
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..
 
Old 09-01-2006, 01:09 AM   #2
Zepiroth
Member
 
Registered: May 2003
Location: Surabaya, Jawa Timur, Indonesia
Distribution: Debian x64 and Ubuntu LTS Servers
Posts: 56

Rep: Reputation: 15
Wink 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.
 
Old 09-01-2006, 01:43 AM   #3
stanford
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 03-21-2007, 05:58 AM   #4
Zepiroth
Member
 
Registered: May 2003
Location: Surabaya, Jawa Timur, Indonesia
Distribution: Debian x64 and Ubuntu LTS Servers
Posts: 56

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


Reply



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
what is selinux? mesh2005 Linux - General 2 01-04-2006 11:33 AM
selinux.h ? DJ Shaji Red Hat 1 03-26-2005 12:57 PM
Do I need SELinux? Please help! xbennyboy Linux - Software 2 01-02-2005 05:23 PM
SELinux winxshadi76 Linux - Newbie 1 12-03-2004 11:04 AM
Selinux tessx Linux - General 3 05-22-2004 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:11 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
Open Source Consulting | Domain Registration