Results 1 to 10 of 10

Thread: making the firewalls script run

  1. #1
    kyiu
    Guest

    making the firewalls script run

    ???

    I downloaded a firewall script "firewallss" from Redhat support site. I did all the stuffs it asked to do. But the script wouldn't run. I get error "/sbin/service: /etc/init.d/firewallss, no such file or directory"

    What is wrong?

    Ken

  2. #2
    JimH
    Guest

    Re: making the firewalls script run

    Post a copy of the script or just post the link to what you were reading on Red Hat's website.

    What version of Red Hat are you running?

    Jim H

  3. #3
    kyiu
    Guest

    Re: making the firewalls script run

    Thanks for you reply.

    I'm running RedHat version 7.2 professional.

    Ken

  4. #4
    JimH
    Guest

    Re: making the firewalls script run

    Is this the script you downloaded?

    https://www.redhat.com/support/resou...llservice.html

    Jim H

  5. #5
    Bogler
    Guest

    Re: making the firewalls script run

    I take it the script is the firewallss script, i have used this. It has to be executable and all the settings have to be tailored to your own environs. Then place the script in /etc/rc.d/init.d and run it ./firewallss and it should be ok. If this doesn't work then i don't know....

    regards

    Bog..

  6. #6
    kyiu
    Guest

    Re: making the firewalls script run

    This is the script I've downloaded.

    https://www.redhat.com/support/resou...llservice.html

    I did the chmod as described in the script and save it in the /etc/rc.d/init.d as firewallss. I ran the script using serviceconfig (under gnome), that's where I get the error message.

    How do I tailor it to my environment?

    Ken

  7. #7
    Bogler
    Guest

    Re: making the firewalls script run

    The script i used was a download from RedHat and was called firewallss.txt, try this. It may be better than the one you are trying, do a search on the RH site for firewallss.txt and follow the instructions. I have not played around with the url you mentioned.

    Regards

    Bog...

  8. #8
    JimH
    Guest

    Re: making the firewalls script run

    Look at your error message:

    "/sbin/service: /etc/init.d/firewallss, no such file or directory"

    Now look at where you said you saved it::

    I did the chmod as described in the script and save it in the /etc/rc.d/init.d

    serviceconfig is looking for in it a different place then you put it.

    At the console prompt as the root user type: service firewallss start

    You can get of a list of services available that you can start with the "service" command with:

    chkconfig --list

    You would have to give us a detailed explanation of how your network and firewall box is setup in order to know how to customize it for your configuration.

    This script is also ipchains based, you would be better off taking avantage of the 2.4 kernel and use iptables instead.

    Jim H

  9. #9
    kyiu
    Guest

    Re: making the firewalls script run

    I found the problem. It's fixed.
    problem caused: by permissions. The script was downloaded last time as a normal user. eventhought I changed the properties to "root" (and the group), some lines in the script can't get executed. I download it again, but this time logon as root. Did the as thing to it. And it runs.
    Why the difference? I don't know. May be you can explain it. But hey! it's working.

    Thanks for everything.

    Ken

  10. #10
    JimH
    Guest

    Re: making the firewalls script run

    Only root has the permissions to run the commands in the script. You could have changed the onwership of the script with:

    chown root.root filename

    This would make the script owner: root:, group: root.

    Jim H

Similar Threads

  1. Firewalls
    By imported_n00b in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 10-10-2004, 04:21 AM
  2. firewalls
    By gorn in forum General Chat
    Replies: 6
    Last Post: 05-31-2004, 10:26 PM
  3. firewalls gui based
    By doggiebone in forum Redhat / Fedora
    Replies: 2
    Last Post: 09-30-2002, 07:51 AM
  4. Firewalls vs routers
    By Blaqb0x in forum Security
    Replies: 2
    Last Post: 05-14-2002, 02:01 PM
  5. Linux flaw opens door in firewalls
    By cloverm in forum General Chat
    Replies: 0
    Last Post: 03-01-2002, 12:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •