[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 questions to squid from ports



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@trumpetpower.com
 http://www.trumpetpower.com/
 icbm:33o25'37"N_111o57'32"W

[demime 0.98d removed an attachment of type application/pgp-signature]