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 username

Default

cache_effective_user nobody

Example

cache_effective_user squid

Related

cache_effective_group

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.