Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 1998 00:32:30 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        Matt Tucker <txborn@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Squid running as root
Message-ID:  <Pine.BSF.3.96.980110003108.13570A-100000@odyssey.apana.org.au>
In-Reply-To: <19980109153409.25573.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Jan 1998, Matt Tucker wrote:

> After installing the latest -RELEASE version of freeBSD, I am presented 
> at startup with a repeated message about not running "Squid" as root.  I 
> have had absolutely NO experience with unix before and would like some 
> instructions as to how to solve this problem, and what the heck is 
> "Squid" anyway???? 

OK. In the file:

/usr/local/etc/squid/squid.conf

add the line:

cache_effective_user	nobody	nogroup

And reboot. This will cause squid to run as the user nobody. Make sure
the user nobody has rwx privs to the cache directory.

Regards,

d.

+-------------------------------------------------------+
| Dean Hollister,           | dean@odyssey.apana.org.au |  
| Perth, Western Australia. | deanh@iinet.net.au        |
+-------------------------------------------------------+




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980110003108.13570A-100000>