How to reset the Admin password without gui access Zabbix

Certainly! Here’s the updated content with the image included:

How to Reset the Zabbix Admin Password Without GUI Access

If you need to reset the Zabbix admin password and do not have GUI access, you can follow these simple steps:

  1. Connect to the MySQL database as the root user by running the following command:

    mysql -uroot -p
    

    Enter the password for the root user when prompted.

  2. Select the database that you have set up for the Zabbix server:

    MariaDB [(none)]> USE zabbix;
    
  3. Once you have selected the database, you can reset the admin password using the following command:

    MariaDB [zabbix]> UPDATE zabbix.users SET passwd=md5('YourNewPassword') WHERE alias='Admin';
    

    Replace 'YourNewPassword' with the desired password.

  4. You can now access the Zabbix GUI and test the new password.

  5. Now you can exit from the MySQL database by running the command:

    MariaDB [(none)]> \q
    

    This will exit the MySQL shell.

By following these steps, you will be able to reset the Zabbix admin password without GUI access and log in with the new password.