mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
zabbix_agentd: Bugfix for /etc/sudoers.d/zabbix.user
Files containing an '~' or '.' are ignored by sudo when placed in the includedir /etc/sudoers.d This makes the file useless. The file is renamed to "zabbix" instead of "zabbix.user" to fix this. See: https://www.sudo.ws/man/1.8.13/sudoers.man.html#Including_other_files_from_within_sudoers Signed-off-by: Alexander Koch <ipfire@starkstromkonsument.de> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
854b63c42a
commit
41b7369f80
@@ -108,7 +108,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
# Install sudoers include file
|
||||
install -v -m 644 $(DIR_SRC)/config/zabbix_agentd/sudoers \
|
||||
/etc/sudoers.d/zabbix.user
|
||||
/etc/sudoers.d/zabbix
|
||||
|
||||
# Install include file for backup
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/zabbix_agentd \
|
||||
|
||||
Reference in New Issue
Block a user