From owner-freebsd-questions Fri Jan 9 08:34:34 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA15762 for questions-outgoing; Fri, 9 Jan 1998 08:34:34 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA15746 for ; Fri, 9 Jan 1998 08:34:27 -0800 (PST) (envelope-from dean@odyssey.apana.org.au) Received: from localhost (dean@localhost) by odyssey.apana.org.au (8.8.7/8.8.7) with SMTP id AAA13779; Sat, 10 Jan 1998 00:32:31 +0800 (WST) Date: Sat, 10 Jan 1998 00:32:30 +0800 (WST) From: Dean Hollister To: Matt Tucker cc: freebsd-questions@FreeBSD.ORG Subject: Re: Squid running as root In-Reply-To: <19980109153409.25573.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 | +-------------------------------------------------------+