On Sun, Sep 7, 2008 at 11:05, Lee Amy <[EMAIL PROTECTED]> wrote:
> Hello,
>
> When I modify the gmond.conf file I find that "user = nobody" in "globals"
> parameter. So my question is if I use root to start gmond shall I change to
> "user = root"? What's the meaning of that?

This setting indicates what user gmond should try to run as.  This
option will only work if gmond is started by the root user, since only
the root user can (directly) change its own UID (and EUID).  The
default for gmond is to use the "nobody" user, which is commonly used
to run daemons that do not need special access to many files.  Because
of the information gmond collects, the "nobody" user may not have
sufficient permission to access all of the files that it needs, so you
may need to use  "user=root" in that case.

Generally, if you don't need to run programs as root, you shouldn't.
So try using "user = nobody", and if it works on your system, great.
Otherwise, start the program as root, and either include "user=root"
or omit it completely.


-- 
Jesse Becker
GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to