On Mon, 19 Jan 1998, Michael S. McCollough wrote:
> cache_effective_user nobody nobody
>
> Will not work, squid outputs that should not be run as root,etc.
>
> User nobody Group nobody do exist. I am using Squid 1.1.10
> I can su to nobody then run RunCache& and everything works.
> Please help, I am new to squid and like it so far, but it would be nice if I
> could run it at startup time in an rc.proxy script.
> I am using RedHat 5.0
Ah, you got bitten by the glibc setresuid() bug; see
http://squid.nlanr.net/Squid/FAQ/FAQ-13.html#ss13.5
Anotehr solution to the problem aside from the FAQ is to just do a "su" do
run Squid, e.g.
su squid -c /usr/local/squid/bin/RunCache &
You only need to initially run Squid as root to bind to a privileged port,
or to use the ICMP functionality.
Cheers,
-- miguel a.l. paraz iphil communications, makati city, ph +63-2-750-2288Received on Mon Jan 19 1998 - 09:06:30 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:27 MST