[CentOS] Re: Why iptables are not working?

Wed Jan 23 18:37:25 UTC 2008
Steven Vishoot <sir_funzone at yahoo.com>

--- Tolun ARDAHANLI <tolun.ardahanli at linux.org.tr>
wrote:

> hi;
> the output of those commands are listed below... but
> i see that i cant reach
> to iptables if i am opening a console in
> Gnome(however i give su- command
> but still was the same problem)... But if I am
> opening directly the console
> with pressing ctrl+f1 and giving root and password
> of it than i can use
> iptables command!!!
> 
> # ls -l /sbin/iptables
> -rwxr-xr-x 1 root root 57408 Jan  6  2007
> /sbin/iptables
> # rpm -q iptables
> iptables-1.3.5-1.2.1
> 
> thanks to all
> 
> 
> 
> 2008/1/23, Tolun ARDAHANLI
> <tolun.ardahanli at linux.org.tr>:
> >
> > Hi;
> >
> > in our server we dont have "iptables" command! and
> i am trying to install
> > it with that
> >
> > yum -y install iptables
> >
> > after this command it says that "...nothings to
> do". Do you have any
> > suggestion for installing the iptables?
> >
> > thanks a lot....
> >
> > Note:
> > CENTos 5.1 is istalled...
> >
> > --
> > Tolun ARDAHANLI
> > Bilgisayar Muhendisi
> > E-posta:tolun.ardahanli at linux.org.tr
> > Icq:326600
> >
> >
> >
>
----------------------------------------------------------------------------
> >
> > Tolun ARDAHANLI
> > Computer Engineer
> > E-mail:tolun.ardahanli at linux.org.tr
> > Icq:326600
> 
> 
> 
> 
> -- 
> Tolun ARDAHANLI
> Bilgisayar Muhendisi
> E-posta:tolun.ardahanli at linux.org.tr
> Icq:326600
> 
>
----------------------------------------------------------------------------
> 
> Tolun ARDAHANLI
> Computer Engineer
> E-mail:tolun.ardahanli at linux.org.tr
> Icq:326600
> > _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
Hello,

It looks like you did not put a space between the su
and dash. It should be su - not su- this should solve
your su problems.