summaryrefslogtreecommitdiffstats
path: root/src/zabbix_agent/zbxconf.c
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-26 13:30:11 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-26 13:30:11 +0000
commit988561fece8022aad10b9f9a5c692c19b9b898a1 (patch)
tree46c33b96cc9cdf8cfc75c8bdc2ebdbfaac01f80a /src/zabbix_agent/zbxconf.c
parent800ef4ec1472f443cbc7a69e0267071d33aae489 (diff)
downloadzabbix-988561fece8022aad10b9f9a5c692c19b9b898a1.tar.gz
zabbix-988561fece8022aad10b9f9a5c692c19b9b898a1.tar.xz
zabbix-988561fece8022aad10b9f9a5c692c19b9b898a1.zip
- agent can be started as root, new parameter AllowRoot (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3757 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_agent/zbxconf.c')
-rw-r--r--src/zabbix_agent/zbxconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_agent/zbxconf.c b/src/zabbix_agent/zbxconf.c
index d8b9b8d3..4640dcab 100644
--- a/src/zabbix_agent/zbxconf.c
+++ b/src/zabbix_agent/zbxconf.c
@@ -84,7 +84,7 @@ void load_config(int exit_on_error)
{"StartAgents", &CONFIG_ZABBIX_FORKS, 0,TYPE_INT, PARM_OPT, 1,16},
{"RefreshActiveChecks", &CONFIG_REFRESH_ACTIVE_CHECKS, 0,TYPE_INT, PARM_OPT,60,3600},
{"EnableRemoteCommands",&CONFIG_ENABLE_REMOTE_COMMANDS, 0,TYPE_INT, PARM_OPT,0,1},
- {"AllowRootPermission", &CONFIG_ALLOW_ROOT_PERMISSION, 0,TYPE_INT, PARM_OPT,0,1},
+ {"AllowRoot", &CONFIG_ALLOW_ROOT, 0,TYPE_INT, PARM_OPT,0,1},
// {"PerfCounter", &CONFIG_PERF_COUNTER, 0, TYPE_STRING,PARM_OPT,0,0},