Re: [squid-users] i see squid run twice, one as nobody, the other as root. Why?

From: Renato Kalugdan <renato@dont-contact.us>
Date: Mon, 15 Dec 2003 13:11:42 -0800 (PST)

ok, so if i log in as root and issue command

/usr/local/squid/sbin/squid

the parent process will run as root and child process will run underneath?

for security purposes, this is ok?

one last question.

should i log in as different user and issue same command instead?

Gracias,

Renato

>
>
>
> On Mon, 15 Dec 2003, Renato Kalugdan wrote:
>
>> Morning,
>>
>> ps -ax shows squid running as nobody and as root.
>>
>> I thought commands below would disallow root to run squid.
>
> This is normal. The first process is like a "watchdog." Its job
> is to monitor the child and make sure there is always one child
> process running.
>
> The parent process can run as root, and indeed must if you are
> binding Squid's incoming socket to port 80.
>
> Duane W.
Received on Mon Dec 15 2003 - 14:11:43 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:13 MST