unable to login using admin account

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
shamimbdren
Posts: 12
Joined: Fri Feb 05, 2021 12:55 pm

unable to login using admin account

Post by shamimbdren »

I have copy (batch copy) the administrator (admin) user account and after that when I tried to login in my cacti portal using the admin account it shows error (screenshot attached). But other users are working.
Is it possible to create another user as administrator using mysql query?
Anyone please help?

Cacti Version 1.2.15
CentOS Linux release 7.9.2009 (Core)
Attachments
cacti.PNG
cacti.PNG (32.03 KiB) Viewed 245 times
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: unable to login using admin account

Post by TheWitness »

Edit the cacti.sql file. Look for the table user_auth_realm, after the creat line, there are a bunch of inserts, change INSERT INTO to REPLACE INTO, copy the changed bits, and paste them into a MySQL command prompt.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: nikolay1968 and 10 guests