文章詳情頁
關(guān)于Zabbix忘記admin登錄密碼重置密碼的問題
瀏覽:224日期:2023-04-06 15:09:29
Zabbix忘記admin登錄密碼重置密碼的問題,具體內(nèi)容如下所示:
1. 問題描述:
2. 解決問題
2.1 zabbix連接的是mysql數(shù)據(jù)庫
[root@zabbix ~]# mysqlWelcome to the MariaDB monitor. Commands end with ; or \g.Your MariaDB connection id is 52Server version: 5.5.65-MariaDB MariaDB ServerCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.Type "help;" or "\h" for help. Type "\c" to clear the current input statement.MariaDB [(none)]>
2.2 進(jìn)入mysql數(shù)據(jù)庫以后查詢users表
MariaDB [zabbix]> use zabbix;MariaDB [zabbix]> select userid,alias,passwd from users;+--------+-------+----------------------------------+| userid | alias | passwd |+--------+-------+----------------------------------+| 1 | Admin | a8105204604a0b11e916f3879aae3b0b || 2 | guest | d41d8cd98f00b204e9800998ecf8427e |+--------+-------+----------------------------------+2 rows in set (0.00 sec)
2.3 生成一個(gè)新密碼MD5,admin是密碼
[root@zabbix ~]# echo -n admin | openssl md5(stdin)= 21232f297a57a5a743894a0e4a801fc3
2.4 然后update表數(shù)據(jù),userid=1的這個(gè)用戶
MariaDB [zabbix]> update users set passwd="21232f297a57a5a743894a0e4a801fc3" where userid = "1";Query OK, 1 row affected (0.00 sec)Rows matched: 1 Changed: 1 Warnings: 0
2.5 刷新重新加載權(quán)限表
MariaDB [zabbix]> FLUSH PRIVILEGES;Query OK, 0 rows affected (0.00 sec)
3. 重新登陸即可
到此這篇關(guān)于Zabbix忘記admin登錄密碼重置密碼的文章就介紹到這了,更多相關(guān)Zabbix admin密碼內(nèi)容請搜索以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持!
標(biāo)簽:
Zabbix
相關(guān)文章:
1. 分布式監(jiān)控系統(tǒng)之Zabbix 使用SNMP、JMX信道采集數(shù)據(jù)的原理解析2. Zabbix指定時(shí)間內(nèi)變化值設(shè)置方法詳解3. 使用Zabbix 5.4.3監(jiān)控IPMI的方法4. Zabbix系統(tǒng)端口監(jiān)控狀態(tài)5. Zabbix SAML SSO 登錄繞過漏洞的操作流程6. 使用zabbix監(jiān)控oracle表空間的操作流程7. Zabbix3.4監(jiān)控mongodb數(shù)據(jù)庫狀態(tài)的方法8. 關(guān)于YUM安裝部署Zabbix4.4.7使用mysql數(shù)據(jù)庫的問題9. Zabbix3.0郵件報(bào)警配置10. Zabbix實(shí)現(xiàn)監(jiān)控多個(gè)mysql過程解析
排行榜
