[root@localhsot]# mysql -u root -p
mysql> use cacti;
mysql> select * from user_auth;
mysql> update user_auth set password=md5("cactipasswd") where id=‘1‘;
现在cacti登录的新密码就是cactipasswd
[root@localhsot]# /usr/bin/htpasswd /usr/local/nagios/etc nagios
查看密码文件:htpasswd.users
本文出自 “我的运维之路” 博客,请务必保留此出处http://linuxpython.blog.51cto.com/10015972/1632945
原文地址:http://linuxpython.blog.51cto.com/10015972/1632945