summaryrefslogtreecommitdiff
path: root/pcr/ganglia/uid.patch
blob: 1655490336aff23c867be6996aec44044f150c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- 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)