startup script
Jim Douglas
jdz99 at hotmail.com
Mon Jul 7 17:53:55 UTC 2008
> Date: Mon, 7 Jul 2008 10:49:30 -0700
> From: karlok at fastmail.fm
> To: kubuntu-users at lists.ubuntu.com
> Subject: Re: startup script
>
> Jim Douglas wrote:
> > I installed a firewall and want to make sure it starts up in the right
> > place on reboot.
> >
> > These are the instructions I am getting from the Firewall Builder site,
> > they have nothing for Kubuntu...
> >
> > The universal method is to put generated script in /etc or /etc/firewall
> > directory and add a line at the bottom of script */etc/rc.d/rc.local*
> > (Mandrake and RedHat) or */etc/init.d/boot.local* (SuSE) like this:
> >
> > /etc/firewall/firewall.fw
> >
> > This way, firewall script runs when machine executes
> > boot-time scripts. The name of the file is the same
> > as the name of the firewall object in Firewall
> > Builder GUI, with extension ".fw". So, if
> > firewall object name is *guardian*, then
> > fwbuilder puts generated policy in the file
> > *guardian.fw*.
> >
> >
> > What is the most secure process to start up at boot time?
> >
> >
> > Thanks,
> > Jim
> >
> You could put the line to run the script in /etc/rc.local. This is the
> default rc.local:
>
> #!/bin/sh -e
> #
> # rc.local
> #
> # This script is executed at the end of each multiuser runlevel.
> # Make sure that the script will "exit 0" on success or any other
> # value on error.
> #
> # In order to enable or disable this script just change the execution
> # bits.
> #
> # By default this script does nothing.
>
> exit 0
>
> Karl
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
I was going to put it in ther but, I want to be sure the Firewall starts at the right time, I remember reading somewhere that if it doesn't the Firewall won't be aa secure..
Thanks,
Jim
_________________________________________________________________
Need to know now? Get instant answers with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20080707/6b2e7835/attachment.html>
More information about the kubuntu-users
mailing list