--- a/configure +++ b/configure @@ -1588,7 +1588,7 @@ Optional Features: --enable-debug turn on debugging output and compile options --enable-gexec turn on gexec support (platform-specific) - --enable-setuid=USER turn on setuid support (default setuid=nobody) + --enable-setuid=USER turn on setuid support (default setuid=ganglia) --enable-setgid=GROUP turn on setgid support (default setgid=no) --enable-pedantic turn on pedantic mode during compile --enable-memcheck turn on memory checking during compile @@ -11152,7 +11152,7 @@ $as_echo "#define SUPPORT_GEXEC 0" >>confdefs.h fi -setuid_user=nobody +setuid_user=ganglia # Check whether --enable-setuid was given. if test "${enable_setuid+set}" = set; then : enableval=$enable_setuid; if test x"$enableval" != xno; then no_setuid=0; setuid_user=$enableval ; fi --- a/gmetad/gmetad.conf.in +++ b/gmetad/gmetad.conf.in @@ -99,8 +99,8 @@ data_source "my cluster" localhost #------------------------------------------------------------------------------- # User gmetad will setuid to (defaults to "nobody") # default: "nobody" -# setuid_username "nobody" -# +setuid_username "ganglia" + #------------------------------------------------------------------------------- # Umask to apply to created rrd files and grid directory structure # default: 0 (files are public)