[root@localhsot]# mysql -u root -pmysql
mysql> use cacti;ios
mysql> select * from user_auth;sql
mysql> update user_auth set password=md5("cactipasswd") where id='1';ide
如今cacti登陸的新密碼就是cactipasswdip
[root@localhsot]# /usr/bin/htpasswd /usr/local/nagios/etc nagiosmd5
查看密碼文件:htpasswd.usersit