Accidentally deleted /etc/init.d/iptables script

This is a discussion on Accidentally deleted /etc/init.d/iptables script within the Linux Security forums, part of the System Security and Security Related category; Anyone know where or how I can retrieve the default /etc/init.d/iptables script for RH9 with the latest ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-09-2004
Jeff Franks
 
Posts: n/a
Default Accidentally deleted /etc/init.d/iptables script

Anyone know where or how I can retrieve the default /etc/init.d/iptables
script for RH9 with the latest iptables rpms?

I have the rpm file if there is some way of extracting it


thanks

jf


Reply With Quote
  #2 (permalink)  
Old 12-09-2004
Tim Haynes
 
Posts: n/a
Default Re: Accidentally deleted /etc/init.d/iptables script

"Jeff Franks" <jfranks1970@NoSPMcharter.net> writes:

> Anyone know where or how I can retrieve the default /etc/init.d/iptables
> script for RH9 with the latest iptables rpms?
>
> I have the rpm file if there is some way of extracting it


rpm -Uhv the thing again
or
man rpm2cpio

~Tim
--
08:12:18 up 113 days, 16:52, 0 users, load average: 0.42, 0.22, 0.12
piglet@stirfried.vegetable.org.uk |You should never underestimate
http://spodzone.org.uk/cesspit/ |the predictability of stupidity.
|
Reply With Quote
  #3 (permalink)  
Old 12-10-2004
Jeff Franks
 
Posts: n/a
Default Re: Accidentally deleted /etc/init.d/iptables script

Thanks. I had to end up running it with a "--force" as well. But all is
well now...thanks

jf
"Tim Haynes" <usenet-20041209@stirfried.vegetable.org.uk> wrote in message
news:86brd3zy8h.fsf@potato.vegetable.org.uk...
> "Jeff Franks" <jfranks1970@NoSPMcharter.net> writes:
>
>> Anyone know where or how I can retrieve the default /etc/init.d/iptables
>> script for RH9 with the latest iptables rpms?
>>
>> I have the rpm file if there is some way of extracting it

>
> rpm -Uhv the thing again
> or
> man rpm2cpio
>
> ~Tim
> --
> 08:12:18 up 113 days, 16:52, 0 users, load average: 0.42, 0.22, 0.12
> piglet@stirfried.vegetable.org.uk |You should never underestimate
> http://spodzone.org.uk/cesspit/ |the predictability of stupidity.
> |




Reply With Quote
  #4 (permalink)  
Old 12-11-2004
Moe Trin
 
Posts: n/a
Default Re: Accidentally deleted /etc/init.d/iptables script

In article <3Hmud.54$FG5.30@fe39.usenetserver.com>, Jeff Franks wrote:

>Thanks. I had to end up running it with a "--force" as well. But all is
>well now...thanks


"--force" == "get a bigger hammer". Not always the best idea.

You may want to check that your rpm database is not corrupted now.
Specifically, do an 'rpm -q name.of.package' and see that it does
not indicate the package is installed twice. If that's the case, you
may have to uninstall the package with the '--allmatches' option,
then reinstall it. Unfortunately, the man page doesn't give all the
clues necessary for replacing missing files.

Old guy
Reply With Quote
  #5 (permalink)  
Old 12-12-2004
Steve Ackman
 
Posts: n/a
Default Re: Accidentally deleted /etc/init.d/iptables script

On Wed, 8 Dec 2004 23:40:46 -0600, Jeff Franks wrote:
> Anyone know where or how I can retrieve the default /etc/init.d/iptables
> script for RH9 with the latest iptables rpms?
>
> I have the rpm file if there is some way of extracting it


For future reference, you can extract single files
from an rpm using mc. Drill down the rpm to the file
you want and F5 to copy it where you want it.

--
Steve Ackman
http://twoloonscoffee.com (Need beans?)
http://twovoyagers.com (glass, linux & other stuff)
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0