A
A
AndreyTT2015-09-03 09:35:01
Squid
AndreyTT, 2015-09-03 09:35:01

Which user should run the proxy server as and which user should own the /etc/squid3 folder?

There is a configured Ubuntu Server 14.04 and sketchy (alas) knowledge of administration. I know about access rights, etc., but I can't put it all together:
1. Do I need to create a separate user and group (for example, proxy\proxy)?
2. Is it necessary to make the proxy user the owner of /etc/squid3 - server body, /var/squid3/logs -logs respectively, /usr/squid3/cache-squid3 - cache? If not, who should be the owner?
3. If not, what rights should be given (750\755\640) to all these folders so that everything works correctly?
-------------------------------------------------- --------------------------------------

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Heizenberg, 2015-09-03
@AndreyTT

1. When installing the OS, a proxy user and group are immediately created.
2. Not necessarily, it can be the root(/etc/squid3) folder with 755 permissions
3. See step 3 + the owner of the /var/log/squid3 folder - you need to make the proxy user, if this is not already the case.
When installing via sudo apt-get install squid:
proxy user and group
/etc/squid3 - root owner, permissions 755
/var/log/squid - proxy owner, permissions 755
cache owner - proxy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question