From 6f24d0a9cbe3fc5785cd7bdef397dd65673af613 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 27 Oct 2021 10:35:54 +0200 Subject: [PATCH] Fix /etc/sudoers.d/zabbix perms ... --- scripts/_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index d472c23..e623d03 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -98,6 +98,7 @@ import_template () { bashUserPpath="../conf/etc_zabbix_zabbix_agentd.d_yunohost.sh" cp "$sudoUserPpath" /etc/sudoers.d/zabbix + chmod 400 /etc/sudoers.d/zabbix if [ -d /etc/zabbix/zabbix_agentd.d ] then