Name
cache_effective_user
Synopsis
In the interest of security, Squid doesn’t allow itself to run as root. If you start the process as root, Squid changes its effective userid to a nonprivileged user. This user ID must have write permission to the cache directories and log file directory.
You need to set this directive only if you’re starting Squid as root. If you start Squid as a non-root user, this directive is ignored.
Syntax | cache_effective_user |
Default | cache_effective_user nobody |
Example | cache_effective_user squid |
Related | cache_effective_group |
Get Squid: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.