Cacti: Locked out after switching to "Web Basic Auth"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Cacti: Locked out after switching to "Web Basic Auth"

Post by ^rooker »

[PROBLEM]
I've switched my Cacti installation to "Web Basic Authentication", using htaccess/htgroup files.
Unfortunately, I forgot to enable users to be allowed to login using that method.

Now, my Cacti is greeting me with the following error message:
Error: Access Denied, please contact you Cacti Administrator.
[SOLUTION]
As usual, I say thank you to those who document their solutions/findings:
In the Cacti-forums, user "TheWitness" posted the following SQL statement which is used to re-set the authentication method back to internal:

Code: Select all

mysql cacti
update settings set value=1 where name='auth_method';
That's it.
Afterwards, your good ol' login prompt will await you happily :)
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply