>I have installed a firewall script on redhat7.0
for limiting internet browsing to one domain. Installed >as
/etc/rc.d/init.d/firewallss It works perfect, but must be run manually after
each boot. Running it >manually I have to be logged in as root. How do I
make it run for every user? I want the firewall script to >run from
boot.
My preference for things like this is to make it
follow chkconfig conventions. Go to /etc/rc.d/init.d and look at any of
the other scripts there. You'll find a line like "chkconfig: 345 95
5" in there. This tells the init process that this applies to run levels
3, 4, and 5, that it starts at priority 95 and stops at priority 5. These
latter two tell the system at what point in the boot and shutdown your script
should run. Then, simply do a "chkconfig firewalls on" and all the
links will be created for you and it will be easy for you to see which scripts
will run at boot/shutdown down with a "chkconfig --list" command.
Cheers,
.../Ed
----- Original Message -----
From: Paal
Marker
Sent: Tuesday, March 12, 2002 3:11 AM
Subject: Firewall script and user permissions |
- Firewall script and user permissions Paal Marker
- Re: Firewall script and user permissions Ashwin Khandare
- Re: Firewall script and user permissions Lewi
- Re: Firewall script and user permissions Ben Logan
- IPTables and Traceroute... Thomas Kiblin
- Re: Firewall script and user permissions Ed Wilts
- Re: Firewall script and user permissions Mike Burger