Re: [squid-users] I don't want to create any separate user , I want to run squid as root only

From: BusyBoy <busyboy@dont-contact.us>
Date: Fri, 19 Nov 2004 12:56:43 +0500

On Fri, 19 Nov 2004 07:10:01 +0000 (GMT), ravi masadi
<ravimasadi78@yahoo.co.in> wrote:
> Hi,
>
> I installed squid on linux machine. I want to run
> squid as root, I don't want to run as any user.

Then you should wait for someone to crumble you squid boxes too easily.

 
> I tried,it's gave fatal error.
>
> after that I commented some portion in the main.c
> file
> and tried again. it's working fine is that right way
> of doing or not?
>
> in squid-2.5.STABLE6/src/main.c file I commented the
> following code.
>
> /* if (geteuid() == 0) {
> debug(0, 0) ("Squid is not safe to run as
> root! If you must\n");
> debug(0, 0) ("start Squid as root, then you
> must configure\n");
> debug(0, 0) ("it to run as a non-priveledged
> user with the\n");
> debug(0, 0) ("'cache_effective_user' option
> in
> the config file.\n");
> fatal("Don't run Squid as root, set
> 'cache_effective_user'!");
> }*/
>

Squid developers are well versed with the senses..they should be

> thanks & regards,
> ravi
>
> ________________________________________________________________________
> Yahoo! India Matrimony: Find your life partner online
> Go to: http://yahoo.shaadi.com/india-matrimony
>

-- 
Nasir Mahmood
Systems + Network Admin.
Asia Net.
Received on Fri Nov 19 2004 - 00:56:44 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST