mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-06-21 00:26:07 +02:00
fix permissions
This commit is contained in:
parent
9b166bef7a
commit
0dc6ef9062
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ chmod 700 /var/lib/zabbix/
|
|||
|
||||
|
||||
psk=$(openssl rand -hex 32)
|
||||
sudo -u zabbix echo "$psk" > /var/lib/zabbix/proxy.psk
|
||||
echo "$psk" > /var/lib/zabbix/proxy.psk
|
||||
chown zabbix:zabbix /var/lib/zabbix/proxy.psk
|
||||
chmod 600 /var/lib/zabbix/proxy.psk
|
||||
|
||||
sed -i "s/# TLSConnect=unencrypted/TLSConnect=psk/g" /etc/zabbix/zabbix_proxy.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue