### Option:AllowRoot
# Allow the agent to run as 'root'. Ifdisabled and the agent is started by 'root', the agent
# will try to switch to the user specifiedby the User configuration option instead.
# Has no effect if started under a regularuser.
# 0 - do not allow
# 1 - allow
#
# Mandatory: no
# Default:
#AllowRoot=0
新增如下内容
AllowRoot=1
转载于:https://blog.51cto.com/55348/1589358