LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-11-2007, 04:23 AM   #1
gubak
Member
 
Registered: Jul 2004
Posts: 332

Rep: Reputation: 30
Disable iptables?


Hi!

I have CentOS in textual mode. Through the installation process I have checked the "firewall enabled" field, but now I want to disable it.

Does anyone know how to disable firewall (iptables) in textual mode?

Thank you!
 
Old 03-11-2007, 04:29 AM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
As root, type this:

Code:
service iptables stop
OR
Code:
/etc/init.d/iptables stop
 
Old 03-11-2007, 02:38 PM   #3
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
if in case u got the SeLinux enabled u can disable it using :

#setenforce 0

Then edit the /etc/sysconfig/selinux file and disable selinux permanent.
 
Old 03-12-2007, 09:12 PM   #4
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
To disable SELinux completely, you need to disable it in the kernel by passing "selinux=0" to the kernel in the GRUB configuration.
 
Old 03-20-2007, 01:57 AM   #5
jasonbain
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
apache "DocumentRoot must be a directory"

this is what I had to do to get apache to be able to use a NFS mount as DocumentRoot. I edited the /etc/sysconfig/selinx file and disabled selinux and rebooted. It now works fine.
 
  


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
dbx command for corrosponding commands disable or disable on gdb bshankha AIX 0 09-26-2006 09:38 AM
howto disable traceroute from the external using IPTABLES ? cccc Linux - Security 3 08-16-2006 08:22 PM
How to disable yahoo messenger with iptables `neo Linux - Networking 18 02-04-2006 06:12 AM
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM
How to disable iptables? BigDanny Linux - Networking 3 03-18-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 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