Safe to run squid_user=root ?

RW rwmaillists at googlemail.com
Wed Jun 17 11:38:03 UTC 2009


On Tue, 16 Jun 2009 22:48:17 -0500
Jeffrey Goldberg <jeffrey at goldmark.org> wrote:

> www/squid30 sets up an rc.d startup script that includes
> 
>    squid_user=${squid_user:-squid}
> 
> This makes it impossible to get squid to listen on a port lower than  
> 1024.
> 
> If I specify
> 
>   squid_user=root
> 
> in my rc.conf will I be doing something stupid?  Does squid  
> appropriately drop privileges after binding to a socket?

I don't use squid 3.x but it does in squid 2.x, look
for cache_effective_user and  cache_effective_group in the default
configuration file.


More information about the freebsd-ports mailing list