Gaah...repeat after me, Ben: ``Be sure brain is in gear before engaging keyboard.'' Apologies to those on misc@ who're seeing double. b& -- Ben Goren mailto:ben_(_at_)_trumpetpower_(_dot_)_com http://www.trumpetpower.com/ icbm:33o25'37"N_111o57'32"W
--- Begin Message ---
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: 2 questions to squid from ports
- From: Ben Goren <ben_(_at_)_trumpetpower_(_dot_)_com>
- Date: Sat, 9 Mar 2002 10:32:28 -0700
On Sat, Mar 09, 2002 at 01:08:21PM +0000, A. Farber wrote: > Hi, > > currently squid from ports says to install this into > /etc/rc.local: > > if [ -x /usr/local/bin/squid ]; then > echo -n ' squid'; /usr/local/bin/squid & > fi > > 1) Is the ampersand & really needed? Probably not, come to think of it. But I have it in mine and it certainly doesn't hurt. I wouldn't lose sleep over it either way. > 2) Wouldn't it be safer to run squid as "www" user, something > like: $ grep effective /etc/squid/squid.conf # TAG: cache_effective_user # TAG: cache_effective_group # If the cache is run as root, it will change its effective/real cache_effective_user squid cache_effective_group squid > Regards > Alex Enjoy, b& -- Ben Goren mailto:ben_(_at_)_trumpetpower_(_dot_)_com http://www.trumpetpower.com/ icbm:33o25'37"N_111o57'32"W [demime 0.98d removed an attachment of type application/pgp-signature]
--- End Message ---
Attachment:
pgpdelB6pcOfA.pgp
Description: PGP signature