Re: Run during Boot Up...
From: Ruben (ruben_at_localhost.localdomain)
Date: 05/31/04
- Next message: efa_at_someonesorg.org: "FD2 and Samba for home network of 4 win2ks and my new linux box"
- Previous message: Lenard: "Re: FTP for updates"
- In reply to: Ramen Junkie: "Run during Boot Up..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 May 2004 15:18:50 GMT
On Sun, 23 May 2004 23:48:38 +0000, Ramen Junkie wrote:
> I'm trying to figure out how to make a command run during the boot sequence.
> I've set up Redhat 9 running Apache as a webserver. I had trouble getting
> it to work at first but later figured out I needed to flush the ip tables.
> Recently the machine was rebooted due to a power outage and when it came
> back up the server wasn't working properly and I had to run
> "/sbin/iptables -F" again. The problem is this PC doesn't have a monitor of
> Keyboard of it's own. I can't seem to SSH or Telnet into the machine either
> before "/sbin/iptables -F" so I was wondering how I could set things up to
> run this command automatically any time the machine is rebooted.
If you do not want to run a firewall in this system, you should turn it
off. That is what you are doing by flushing iptables. From the command
line as root run "setup" and select services. De-select iptables and/or
ipchains. Next time system reboots, these services should not come on and
your problem will be solved.
Like other posters have said, maybe you want to learn on setting the
proper rules to allow the right port requests to come thru. By doing a
flush of iptables, you are leaving the system wide open to any requests
coming in and unless your system is behind a firewall to protect it, then
you are making the same mistake microsoft does with windows.
Ruben
- Next message: efa_at_someonesorg.org: "FD2 and Samba for home network of 4 win2ks and my new linux box"
- Previous message: Lenard: "Re: FTP for updates"
- In reply to: Ramen Junkie: "Run during Boot Up..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|