RE: [squid-users] squid 2.6 and squidguard 1.2.0 problems SOLVED

From: chteh <chteh@dont-contact.us>
Date: Wed, 26 Sep 2007 22:54:01 +0800

Dear Mr.Henrik Nordstrom,

Thanks for your guidance. Yes, the problem solved after I login squid as
user to run the squidguard. When I try to run squidguard using command line,
I encountered many permission denied problems. I have changed the permission
accordingly.

Now my squidguard works smoothly. Many thanks to you, and to those who faced
similar problems like me, especially Sussane Andrews, please check your
squid access permission too. All the best! :-D

Best Regards,
 
Simon Teh
Network and System Administrator
National Advanced IPv6
Centre of Excellence,
School of Computer Science,
Universiti Sains Malaysia
 

-----Original Message-----
From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
Sent: Wednesday, September 26, 2007 5:28 PM
To: chteh
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] squid 2.6 and squidguard 1.2.0 problems

On ons, 2007-09-26 at 16:11 +0800, chteh wrote:
> Dear Mr.Henrik Nordstrom,
>
> For the cache_effective_user, I read about that in the squid mailing list.
> Could you please elaborate more about this part? I think I almost try
> everything but not this part yet.
>
> Is it means that I need to insert these 2 lines in the squid.conf?
>
> cache_effective_user squid
> cache_effective_group squid

It mans that you need to test SquidGuard from the user account
cache_effective_user is set to. It's always set to something as there is
a built-in default even if you don't specify it in your squid.conf. See
squid.conf.default for the default setting, usually "nobody" or "squid".

To change user to the "squid" user you can use the following:

  su - squid

to verify the user identity after su use the "id" command. If still root
then the user is probably blocked for interactive use, and you can try

  su -s /bin/sh - squid

instead..
Received on Wed Sep 26 2007 - 08:54:03 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT