Fix user/permissions on agent.conf