| Tag Name | cache_effective_user |
| Usage | cache_effective_user userid |
Description
If the cache is run as root, it will change its effective/real UID to the UID specified below. The default is to change the UID to nobody. If Squid is not started as root, the default is to keep the current UID. Note that, if Squid is not started as root, then you cannot set http_port to a value lower than 1024.
If Squid is started with the userid squid, then the cache_effective_user will be given as squid. If it is started as root then the default value will be taken
| Default | cache_effective_user nobody |
Example
cache_effective_user squid
Caution
If the above directive is not configured properly then Squid will have problems in starting.