On Wed, Sep 09, 1998 at 08:47:53AM +0400, Patrick Ng wrote:
> Can someone tell me what do I have to modify in the squid.conf file
> to prevent it from loading from root which is normally bad i think.
> I want it to start as user squid.
(1) Make sure `squid' is a real user then.
(2) Make sure the squid user as R/W to the cache an at least R to the
configuration files.
(3) Look for the word `user' in squid.conf, ie. cache_effective_user.
You'll also probably want to change the group.
> I want to know also what do i have to do to prevent users on the
> local area network from downloading mirc from the mirc sites.
What version of squid? With 1.2 you can use `acl blah dstdom_regex',
don't know about older versions.
(Anyhow, prevent lusers from doing this is only going to delay them,
they will get it sooner or later it much more effective to block the
IRC port(s) on the router and screw them that way).
-cw
Received on Wed Sep 09 1998 - 00:38:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:54 MST