当前位置:网站首页>ZABBIX administrator forgot login password
ZABBIX administrator forgot login password
2022-07-24 14:55:00 【Bandiaozi refining whole stack】
zabbix The administrator account forgot the login password

1、 Sign in zabbix-server The server
Get into mysql
The database used by this machine is mariadb No password , If it is mysql be , log on as mysql -uroot -p123456; -u Followed by the user name -p Followed by the password
[[email protected] ~]# mysql
2、 Get into zabbix library
MariaDB [(none)]> use zabbix;
3、 Get into mysql Database future query users surface (passwd by MD5 encryption )
MariaDB [zabbix]> select userid,alias,passwd from users;
+--------+------------+--------------------------------------------------------------+
| userid | alias | passwd |
+--------+------------+--------------------------------------------------------------+
| 1 | Admin | $2y$10$DN5QNswJysi73cWhiYI.o.Q.awb9zafRWCZD6wK4odU.4n2bvg6W. |
| 2 | guest | $2y$10$89otZrRNmde97rIyzclecuk6LwKAsHN0BcvoOKGjbT.BwMBfm7G06 |
| 3 | zabbixuser | $2y$10$Is8jDVyQjcoWdJqjQeEuqOiEvmvkLMb2/IjEo1n38abBdblpD11rm |
+--------+------------+--------------------------------------------------------------+
3 rows in set (0.00 sec)
4、 ⽣ become ⼀ New passwords MD5,admin It's a password ( Exit database )
[[email protected] ~]# echo -n Admin | openssl md5
(stdin)= e3afed0047b08059d0fada10f400c1e5
5、 Enter the database again , And enter zabbix Inside the warehouse
[[email protected] ~]# mysql
MariaDB [(none)]> use zabbix;
6、 then update Table data ,userid=1 This ⽤ Household
MariaDB [zabbix]> update users set passwd='e3afed0047b08059d0fada10f400c1e5' where userid = '1';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
7、 Refresh and reload the permission table
MariaDB [zabbix]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
8、 Log in again , The password is the initial password ;( And the interface prompts that the user has updated )
Get it done
边栏推荐
- 股票开户之后就可以购买6%的理财产品了?
- Beijing all in one card listed and sold 68.45% of its equity at 352.888529 million yuan, with a premium rate of 84%
- Usage differences of drop, truncate and delete
- DS diagram - the shortest path of the diagram (excluding the code framework)
- AtCoder Beginner Contest 261 F // 树状数组
- Kali concise language transformation method (illustration)
- The accuracy of yolov7 in cracking down on counterfeits, not all papers are authentic
- Activity Registration: how to quickly start the open source tapdata live data platform on a zero basis?
- Similarities and differences between nor flash and NAND flash
- Which brokerage has the lowest commission? I want to open an account. Is it safe to open an account on my mobile phone
猜你喜欢

VSCode如何调试Nodejs

AG. DS binary tree -- hierarchical traversal

Under multi data source configuration, solve org.apache.ibatis.binding Bindingexception: invalid bound statement (not found) problem

多数据源配置下,解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)问题

Overall testing framework for performance testing

Simple understanding and implementation of unity delegate

"After 00" is coming! Digital data ushers in a new generation of "codeless" forces

(零九)Flask有手就行——Cookie和Session

Kali concise language transformation method (illustration)

Explain the edge cloud in simple terms | 2. architecture
随机推荐
Strongly connected component
异或程序
记不住正则表达式?这里我整理了99个常用正则
Caffe framework and production data source for deep learning
Jmmert aggregation test report
After reading this article, I found that my test cases were written in garbage
Unity 委托 (Delegate) 的简单理解以及实现
Attributeerror: module 'distutils' has no attribute' version error resolution
Rest style
多数据源配置下,解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)问题
Rasa 3.x 学习系列-Rasa FallbackClassifier源码学习笔记
老虎口瀑布:铜梁版小壶口瀑布
ISPRS2018/云检测:Cloud/shadow detection based on spectral indices for multi/hyp基于光谱指数的多/高光谱光学遥感成像仪云/影检测
A common Dao class and util
Overview of dobesie wavelet (DB wavelet function) in wavelet transform
Production environment tidb cluster capacity reduction tikv operation steps
[NLP] next stop, embossed AI
Chiitoitsu
Spark: get the access volume of each time period in the log (entry level - simple implementation)
深度学习中的学习率调整策略(1)