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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"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. | |
|
|||
|
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. > | |
|
|||
|
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 |
|
|||
|
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) |