amarao (amarao_san) wrote,
amarao
amarao_san

lifehack: how to reset password for cacti

Well, you need to know admin password for cacti... how to reset admin password for cacti, well, you need to know mysql root user password...

Skip all that.

sudo -s
/etc/init.d/mysql stop
mysqd --skip-grant-tables &
echo "update user_auth set password=md5('password') where username='user';"|mysql cacti
pkill mysqld
/etc/init.d/mysql start
Tags: howto, lifehack
Subscribe

  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments