Reset Admin Password for Zabbix LTS 5

The TL;DR

htpasswd -bnBC 10 "" P@ssw0rd | tr -d ':'

<copy the output>

mysql ...
]> update users set passwd='<copied output>' where alias='Admin';

Or If you are lazy, just use this pre-defined line, and then reset the password from the WebUI.

update users set passwd='$2y$10$o50q5brtO1UnYqy3WYiQTu0ASFkUSWVkELkpLreGXll7EMLms6OSG' where alias='Admin'; -- P@ssw0rd

References

  • Since 5.0 Zabbix switched from md5 hashing algorithm to bcrypt: https://support.zabbix.com/browse/ZBXNEXT-1898

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *