Squid running as root

From: Roch Pageau <rpageau@dont-contact.us>
Date: Fri, 26 Dec 1997 16:57:46 -0500

I have added this line in my rc.local to run the squid proxy server,
but am not sure how to get it to run as someone other than root.

if [ -f /usr/local/squid/etc/squid.conf ] ; then
        echo -n ' squid'; /usr/local/squid/bin/RunCache &
fi

I would like to run it as www if possible.

I keep getting the following errors while running squid and think it has
something to do with squid putting a squid.core file in my / directory
because I am running as root.

FATAL: xcalloc: Unable to allocate 4096 blocks of 1 bytes!

Squid Cache (Version 1.1.3): Terminated abnormally.
CPU Usage: user 16 sys 12
Memory Usage: rss 0 KB
Page faults with physical i/o: 0
97/12/26 16:42:22| storeWriteCleanLog: Starting...

Thanks

Roch
Received on Fri Dec 26 1997 - 14:05:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:03 MST