summaryrefslogtreecommitdiff
path: root/pcr/ganglia/uid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ganglia/uid.patch')
-rw-r--r--pcr/ganglia/uid.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/pcr/ganglia/uid.patch b/pcr/ganglia/uid.patch
deleted file mode 100644
index 165549033..000000000
--- a/pcr/ganglia/uid.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- 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)