Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Nov 19, 2018 9:12 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Cacti password reset from Mysql not working
PostPosted: Tue Nov 06, 2018 12:39 pm 
Offline

Joined: Mon May 23, 2016 6:22 am
Posts: 8
Dear all,
please help me to reset admin password on Cacti

shell> mysql -u root -p
mysql> use cacti;
mysql> update user_auth set password=md5('admin') where username='admin';
Query OK, 1 row affected (0,00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

But I cannot connect via GUI with admin/admin.

Where is the issue please?
Thanks

_________________
--------------- Ubuntu 17.04 / Cacti 1.1.25 -------------------


Top
 Profile  
 
 Post subject: Re: Cacti password reset from Mysql not working
PostPosted: Tue Nov 06, 2018 12:43 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1694
I would make sure that you are connecting Cacti to the correct DB. Also, if this is not on the login page with the cacti logo on it, then it may be Apache's user auth kicking in, or if it is, ensure that you do not have an LDAP domain that is being used.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti password reset from Mysql not working
PostPosted: Wed Nov 07, 2018 6:42 am 
Offline

Joined: Mon May 23, 2016 6:22 am
Posts: 8
Dear Netvis
I think it is the correct DB used.
please see login page in attached. I don't know if it is Apache's user auth kicking or no.
LDAP domain is not used.

Thanks for your help.


Attachments:
Capture1.JPG
Capture1.JPG [ 23.68 KiB | Viewed 56 times ]

_________________
--------------- Ubuntu 17.04 / Cacti 1.1.25 -------------------
Top
 Profile  
 
 Post subject: Re: Cacti password reset from Mysql not working
PostPosted: Thu Nov 08, 2018 12:23 pm 
Offline

Joined: Mon May 23, 2016 6:22 am
Posts: 8
Hi,
please someone help me here?
Thanks

_________________
--------------- Ubuntu 17.04 / Cacti 1.1.25 -------------------


Top
 Profile  
 
 Post subject: Re: Cacti password reset from Mysql not working
PostPosted: Fri Nov 09, 2018 4:51 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1694
If you look at the user_auth table, make sure you have the right username. Also, check in the settings table to see what the value is for auth_method

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group