소스 검색

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

Alexandre Aubin 4 년 전
부모
커밋
6f24d0a9cb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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