As per company policy should not use plain text password any where in server .
in zabbix server i found plain text password in /etc/zabbix/web/zabbix.conf.php ,i need help to encrypt this password.using database mariadb.
below the configuration file :-
=======================
<?php
// Zabbix GUI configuration file.
global $DB;
$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '3306';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'root';
$DB['PASSWORD'] = 'zabbix';
// Schema name. Used for DB2 and PostgreSQL.
$DB['SCHEMA'] = '';
$ZBX_SERVER = 'server1';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = 'server1';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
================================
in zabbix server i found plain text password in /etc/zabbix/web/zabbix.conf.php ,i need help to encrypt this password.using database mariadb.
below the configuration file :-
=======================
<?php
// Zabbix GUI configuration file.
global $DB;
$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '3306';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'root';
$DB['PASSWORD'] = 'zabbix';
// Schema name. Used for DB2 and PostgreSQL.
$DB['SCHEMA'] = '';
$ZBX_SERVER = 'server1';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = 'server1';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
================================
Comment