Click to See Complete Forum and Search --> : getting programs to load during bootup


SynapticBurst
02-09-2001, 03:58 AM
Hello.
I recently installed Firestarter onto my RedHat 7.0 box. It is a great prog! However, as a non-superuser, everytime I try to load the program, I have to type in my root password. Is there anyway that I can load the prog during system startup so that each user has access to the prog without having to be root?

scott_R
02-09-2001, 04:04 AM
Don't know if this helps:

Q: Can I have the firewall start up at boot time instead of having to start Firestarter all the time?

A: Of course you can. If you're using Red Hat put the line

/bin/sh /etc/firestarter/firewall.sh

at the bottom of your /etc/rc.d/rc.local file. Other distributions might have other init systems, but the principle is the same.

SynapticBurst
02-09-2001, 04:08 AM
Is there any way that I can confirm that it has loaded? I've tried "ps -e" but I can't find anything resembling firestarter.

ferrol
02-09-2001, 04:21 AM
Is there any way that I can confirm that it has loaded?

You could try putting && echo Loading <program>.. After it. I'm not exactly sure if the system will allow this but it should.

Anyway the && basically means execute this command only if the previous was completed sucessfully. This way you should see the "Loading <program> echoed either on the terminal or in the startup text and in dmesg.

Also is the firestarter just a program /script that re applies the firewall ruleset. If it is try listing the ruleset by:

$ /sbin/ipchains -L

Not sure about iptables though. :(