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

From: ravi masadi <[email protected]>
Date: Fri, 19 Nov 2004 07:10:01 +0000 (GMT)

Hi,
 
 I installed squid on linux machine. I want to run
 squid as root, I don't want to run as any user.
 
 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'!");
     }*/
 
 
 
 thanks & regards,
 ravi

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
Received on Fri Nov 19 2004 - 00:10:05 MST

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