Hai,
Well, the thing is, I see the following with ' top ' :
load averages: 0.13, 0.09, 0.08
08:04:12
24 processes: 1 running, 23 idle
CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100%
idle
Memory: Real: 12M/22M act/tot Free: 67M Swap: 0K/400M used/tot
PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU
COMMAND
25213 root 2 0 5780K 5876K sleep poll 0:06
0.00% squid
9671 root 2 0 836K 1372K sleep select 0:02
0.00% sendmail
29365 root 2 0 332K 1148K sleep select 0:01
0.00% sshd
<etc>
That's root as the USERNAME for squid...
But looking with ps is see this :
nobody 25213 7165 7165 84edc0 0 S ?? 0:06.54 (squid) (squid)
nobody 28400 25213 28400 862740 0 Is ?? 0:00.01 (unlinkd)
(unlinkd)
nobody 4362 25213 4362 87f3c0 0 Is ?? 0:00.01 (smb_auth) -W
VLB_ZW
nobody 14758 25213 14758 87f7c0 0 Is ?? 0:00.02 (smb_auth) -W
VLB_ZW
nobody 15544 25213 15544 855e40 0 Is ?? 0:00.01 (smb_auth) -W
VLB_ZW
nobody 16004 25213 16004 84e700 0 Is ?? 0:00.01 (smb_auth) -W
VLB_ZW
nobody 24780 25213 24780 84e5c0 0 Is ?? 0:00.01 (smb_auth) -W
VLB_ZW
which seems to be ok then....but why does 'top' give root as the owner ?
I have the following (= default) in Squid.conf by the way :
cache_effective_user nobody
cache_effective_group nogroup
regards
Wiljoh
-----Oorspronkelijk bericht-----
Van: Henrik Nordstrom [mailto:hno@squid-cache.org]
Verzonden: Tuesday, April 16, 2002 2:47 AM
Aan: Beukers, W.J.
CC: Squid Users
Onderwerp: Re: [squid-users] Running Squid under NoBody
Squid won't run under the root account. It even refuses to start if the
worker daemon cannot change userid to a non-root user.
Regards
Henrik
"Beukers, W.J." wrote:
>
> Hai,
>
> Eeuh perhaps a dumb question, but i have several Squid installations
running
> under the NoBody account, however, one of them runs under root...How can i
> get Squid to run under the NoBody account ?
>
> regards
> Wiljoh
Received on Tue Apr 16 2002 - 00:17:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:34 MST