Cacti 1.2.11 change password

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

Moderators: Developers, Moderators

Post Reply
ank0l0g
Posts: 9
Joined: Tue Apr 07, 2020 12:24 am

Cacti 1.2.11 change password

Post by ank0l0g »

Hello.
Installed version 1.2.11. Forgot password. How to change password admi'a.
TheBob
Posts: 19
Joined: Mon Jul 02, 2018 8:37 am

Re: Cacti 1.2.11 change password

Post by TheBob »

Insite DB
update user_auth set password=md5('new_password') where username='admin';
ank0l0g
Posts: 9
Joined: Tue Apr 07, 2020 12:24 am

Re: Cacti 1.2.11 change password

Post by ank0l0g »

I have done this operation more than once. I can’t enter.

MariaDB [(none)]> use cacti;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [cacti]> update user_auth set password=md5('newpass') where username='admin';
Query OK, 0 rows affected (0.001 sec)
Rows matched: 1 Changed: 0 Warnings: 0
TheBob
Posts: 19
Joined: Mon Jul 02, 2018 8:37 am

Re: Cacti 1.2.11 change password

Post by TheBob »

do you have a admin account on you system?
you can check the user with:

select id, realm_id, username from user_auth_realm uar inner join user_auth ua on ua.id = uar.user_id where realm_id = 26;
ank0l0g
Posts: 9
Joined: Tue Apr 07, 2020 12:24 am

Re: Cacti 1.2.11 change password

Post by ank0l0g »

MariaDB [(none)]> use cacti;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [cacti]> select id, realm_id, username from user_auth_realm uar inner join user_auth ua on ua.id = uar.user_id where realm_id = 26;
+----+----------+----------+
| id | realm_id | username |
+----+----------+----------+
| 1 | 26 | admin |
+----+----------+----------+
1 rows in set (0.001 sec)

I upgraded from 1.2.10 to 1.2.11
I thought I forgot the password.
So you need to watch the post viewtopic.php?f=21&t=60850
TheBob
Posts: 19
Joined: Mon Jul 02, 2018 8:37 am

Re: Cacti 1.2.11 change password

Post by TheBob »

yes we have the same problem and thinking there are more then we have it. :-(
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti 1.2.11 change password

Post by Osiris »

There is a problem in the config.php file. Comment out $cacti_cookie_domain. It's solved in GitHub.com #3436
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests