Explorar o código

Fix /etc/sudoers.d/zabbix perms ...

Alexandre Aubin %!s(int64=4) %!d(string=hai) anos
pai
achega
6f24d0a9cb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      scripts/_common.sh

+ 1 - 0
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