Re: cache_effective_user PROBLEM ?!?!

From: Christian Krackowizer <kra1@dont-contact.us>
Date: Mon, 10 Mar 1997 13:37:27 +0100

At 13:21 08.03.97 -0500, you wrote:
>
>I also found this problem on a linux 2.0.x machine. I found that it was
>unable to set effective_user to nobody, but it was possible to set
>effective_user to any user other than nobody. I created a "squid" user
>which worked fine.
>
>--Paul
>
>On Sat, 8 Feb 1997, Colombo Matteo wrote:
>
>:I HAVE THIS ERROR WHEN STARTING SQUID
>:
>:97/03/08 18:52:45| Squid is not safe to run as root! If you must
>:97/03/08 18:52:45| start Squid as root, then you must configure
>:97/03/08 18:52:45| it to run as a non-priveledged user with the
>:97/03/08 18:52:45| 'cache_effective_user' option in the config file.
>:FATAL: Don't run Squid as root, set 'cache_effective_user'!
>:cache_effective_user nobody nogroup
>:# TAG: visible_hostname
>:# If you want to present a special hostname in error messages, etc,
>:# then define this. Otherwise, the return value of gethostname()
>:# will be used.
>:#
>:visible_hostname proxy.calcol.it
>:WHERE IS THE PROBLEM ??
>
Hmm,

'nobody' and 'nouser' is a placeholder. This means, you can specify any
user/group you want but they must EXIST !!!
And you have to chown x-user.x-group squid's cache-dir.

regards

Christian Krackowizer | email: kra1@technodat.co.at
TECHNODAT CAD/CAM - Systeme fuer Moebel GmbH | Phone: +43 - (0)662-454944-0
Jakob-Haringer-Strasse 6 | FAX: +43 - (0)662-454944-9
A-5020 Salzburg | Compuserve: 74343,2225
AUSTRIA
Received on Mon Mar 10 1997 - 04:57:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:39 MST