Maybe try a 'su - squid -c <location of squid executable>' in
whichever file that starts squid (usually in /etc/rc.d/init.d/squid).
        IN your config, the squid user actually has to *initiate* squid,
not root.
        Chris
On Tue, 16 Feb 1999, Thomas Gaume wrote:
> I installed the rpm for 2.0-4 found at contrib.redhat.com to upgrade
> squid from the distribution that came with my redhat 5.2 disk.  I edited
> 
> /etc/squid/squid.conf and inserted the proper values.
> 
> The problem I am having is that squid will not start at boot up, it says
> 
> do not run as root.  I have .conf file set to run squid as user:squid
> group:squid, and also have tried user:nobody group:nogroup (the way I
> had version 1 running).  I looked in the user listing and the rpm did
> create a user named squid with a group of squid, but squid still refuses
> 
> to run during the boot up process complaining about being ran as root.
> 
> If I log in as myself and then run "squid &" everything works great.
> 
> 
> Here is where I have set the values in my squid.conf file to make squid
> run as a user other than root.
> 
> cache_effective_user squid
> cache_effective_group squid
> 
> --
> Thomas Gaume                            *Wireless Networking experts
> VP - Operations                         *High speed Internet access via our wireless MAN's
> Airwire.net, Inc.                        (Metropolitan area networks)
> 407-752-4000, tom@airwire.net
> http://www.airwire.net
> 
> 
> 
Received on Tue Feb 16 1999 - 18:07:59 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:35 MST