You could edit the file /etc/sysonfig/iptables and add manually an entry that will let you accept tcp connections to port 901 on the -lo interface.
Then when you reboot this setting will be applied.
 
 
You will also need to modify the file:
/etc/xinetd.d/swat to look something like this:
 

# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
service swat
{
        port    = 901
        socket_type     = stream
        wait    = no
        only_from = localhost
        user    = root
        server  = /usr/sbin/swat
        log_on_failure  += USERID
        disable = no
}
 
and then restart xinetd  by doing:
service xinetd restart
-----Original Message-----
From: Mark Harvey [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 3:41 PM
To: [EMAIL PROTECTED]
Subject: Weirdness...

Ok, so I want to shut down the Redhat Security in 8.0, the firewall that is. And I tried doing iptables off and that seemed to help something, but it didn't do what I was hoping. See, I'm trying to install Samba, and in order to configure it it tries to connect to localhost:901. And with the security level at high that just ain't gonna happen. I tried setting it apply it, and rebooting over and over but it always goes back to high, even as root. Any help to turn that bad boy off would be greatly appreciated.

Reply via email to