zulkarnain 写道:
> --- "L.TK" <[EMAIL PROTECTED]> wrote:
>
>>>
>>>
>> comment these lines below in src/main.c
>> 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,
--- "L.TK" <[EMAIL PROTECTED]> wrote:
> >
> comment these lines below in src/main.c
> 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
mån 2006-12-11 klockan 04:17 -0800 skrev zulkarnain:
> How to started squid as root?
If starting Squid manually either log in as root, or su to root before
starting Squid..
If Squid is started from init scripts then it is started as root.
Regards
Henrik
signature.asc
Description: Detta är en
zulkarnain 写道:
> --- Henrik Nordstrom <[EMAIL PROTECTED]>
> wrote:
>
>
>> You should not. cache_effective_user should not be
>> root, not even while
>> using tproxy. But Squid needs to be started as root
>> when unsing tproxy.
>>
>>
>
> How to started squid as root?
>
> regards,
> Zul
>
>
--- Henrik Nordstrom <[EMAIL PROTECTED]>
wrote:
> You should not. cache_effective_user should not be
> root, not even while
> using tproxy. But Squid needs to be started as root
> when unsing tproxy.
>
How to started squid as root?
regards,
Zul
_
sön 2006-12-10 klockan 19:57 -0800 skrev zulkarnain:
> would you please be more detail? I don't know how to
> run squid as root accept by changing
> cache_effective_user and cache_effective_group to
> "root". But with this setting, squid will crash after
> started.
You should not. cache_effective