mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
zabbix_agentd: Sudoers file reorganization
- Remove sudoers file 'zabbix' in favour of new IPFire managed 'zabbix_agentd' and user managed 'zabbix_agentd_user' which is included in the backup - Provide migration of old sudoers file 'zabbix' or 'zabbix.user' to new zabbix_agentd_user sudoers file if it was modified by user. Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
This commit is contained in:
committed by
Peter Müller
parent
e2d54d57d4
commit
092330b128
@@ -124,7 +124,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
# Install sudoers include file
|
||||
install -v -m 640 $(DIR_SRC)/config/zabbix_agentd/sudoers \
|
||||
/etc/sudoers.d/zabbix
|
||||
/etc/sudoers.d/zabbix_agentd
|
||||
install -v -m 640 $(DIR_SRC)/config/zabbix_agentd/sudoers_user \
|
||||
/etc/sudoers.d/zabbix_agentd_user
|
||||
|
||||
# Install include file for backup
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/zabbix_agentd \
|
||||
|
||||
Reference in New Issue
Block a user