Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Feb 2003 16:18:08 -0500
From:      Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Local package initialization
Message-ID:  <3E46C590.4060106@mac.com>
In-Reply-To: <20030209200034.GA25652@users.munk.nu>
References:  <1044818277.3e46a965d3e52@webmail.isot.com> <20030209200034.GA25652@users.munk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
Jez Hancock wrote:
[ ... ]
> As an example, if the files in /usr/local/etc/rc.d dir looks like this:
> 
> -rwxr-x---  1 root  wheel   181 Dec 23 22:05 000.mysql-client.sh*
> -r-xr-xr-x  1 root  wheel   248 Dec 14 09:26 000.pkgtools.sh*
> -r-xr-xr-x  1 root  wheel   307 Jan 19 16:32 100.apache.sh*
> -rwxr-x--x  1 root  wheel   316 Nov 11 01:19 200.idled.sh*
> -rwxr-x---  1 root  wheel   181 Dec 23 22:05 300.mysql.sh*
> -rwxr-xr-x  1 root  wheel  1742 Jan 14 18:03 999.ipfw.sh*
> 
> Then the scripts will be run in the order:
> 
> mysql-client
> pkgtools
> apache
> idled
> ipfw

Note that the above ordering leaves a window of vulnerability after a 
system reboot, where the firewall rules are not yet in place.  It's 
safer to start up the firewall first, and then everything else.

-Chuck


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E46C590.4060106>