【背景介绍】
有一段时间没有登入cacti,发现没有记录密码,导致cacti不能登入页面。
【修改密码】
# 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
【参考】
[url]http://blog.sina.com.cn/s/blog_741c82ba0100wfa7.html[/url]
有一段时间没有登入cacti,发现没有记录密码,导致cacti不能登入页面。
【修改密码】
# 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
【参考】
[url]http://blog.sina.com.cn/s/blog_741c82ba0100wfa7.html[/url]