Would you like to learn how to recover the Zabbix admin password? In this tutorial, we are going to show you how to use the Zabbix password recovery procedure to change the password of the Admin user using the command-line of a computer running Ubuntu Linux.

• Ubuntu version: 18.04

Hardware List:

The following section presents the list of equipment used to create this Zabbix tutorial.

Every piece of hardware listed above can be found at Amazon website.

Zabbix Playlist:

On this page, we offer quick access to a list of videos related to Zabbix installation.

Don't forget to subscribe to our youtube channel named FKIT.

Tutorial - Zabbix Password Recovery

First, we need to access the MySQL server as root user.

Use the following command to install the required packages.

# apt-get update
# apt-get install mysql-client

Use the following command to login the MySQL server as root.

# mysql -u root -p

Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17226

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

The system will ask you to enter the root user MySQL password.

After entering the password, use the following MySQL commands to reset the Zabbix Admin user password.

mysql> use zabbix;
mysql> update zabbix.users set passwd=md5('zabbix') where alias='Admin';
mysql> quit;

In our example, we changed the Admin user password to zabbix.

Open your browser and enter the IP address of your web server plus /zabbix.

In our example, the following URL was entered in the Browser:

• http://35.162.85.57/zabbix

On the login screen, use the default username and default password.

• Username: Admin
• Password: zabbix

zabbix login

Congratulations! You successfully recovered the password of the Zabbix Admin user.