How to Enable Certain Cacti User From Command Line

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
retzul
Posts: 1
Joined: Sat Oct 02, 2021 9:03 am

How to Enable Certain Cacti User From Command Line

Post by retzul »

Hello Sir / Madam

I have a some trouble here, i've have 2 users with full access mode which the one wes active and disabled for another one. But the recent active users suddenly cannot access the console menu and the another one is still disabled. I've already read the topics from forum which say that user lost access to graph realms. Anybody can help me, how to enable the disabled cacti's user from command line or mysql. My plan is enabling the disabled one to rescue the "trouble user".

Any help will appreciated :)
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to Enable Certain Cacti User From Command Line

Post by macan »

select id,username,enabled from user_auth;
+----+----------+---------+
| id | username | enabled |
+----+----------+---------+
| 1 | admin | on |
| 5 | newuser | |

update user_auth set enabled='on' where id=5;
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests