[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Iptables not saving...



On Sat, 2006-04-22 at 13:41 -0400, Devon Harding wrote:
> I have a cron.hourly script set up to save my iptables chains.  When I
> reboot, the chain is empty & /etc/sysconfig/iptables contains the
> default settings.
> 
> Here is /etc/cron.hourly/iptables.cron:
> 
> #!/bin/sh 
> /etc/init.d/iptables save >/dev/null 2>&1
> 
> What causes this to revert to default settings?
> 
What user is running this script?
It would have to be root in order for the contents
of /etc/sysconfig/iptables to be written.

> -Devon
> -- 
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]