Dear Team Cacti ,
As we are using Cati new version 1.2.15 and configured user lock option if tried more than 3 wrong attempts. Admin account itself locked, kindly let us know the commands or procedure to unlock the same. Other users able to log in but not having admin privileges to change the settings.
and shall we have more than 1 admin account. ???
appreciation for soon reply.
Regards
Suryakanth
Karnataka India
admin account locked how to unlock
Moderators: Developers, Moderators
Re: admin account locked how to unlock
You will have to modify the database.
Code: Select all
UPDATE user_auth SET locked = '', enabled = 'on' where username = 'admin'
Re: admin account locked how to unlock
its giving an error
mysql> UPDATE user_auth SET locked = '', enabled = 'on' where username = 'admin'
-> ;
ERROR 1146 (42S02): Table 'mysql.user_auth' doesn't exist
Kindly help
mysql> UPDATE user_auth SET locked = '', enabled = 'on' where username = 'admin'
-> ;
ERROR 1146 (42S02): Table 'mysql.user_auth' doesn't exist
Kindly help
Re: admin account locked how to unlock
Avilable users listed below for your information .
mysql> select user,host from user;
+---------------+-----------+
| user | host |
+---------------+-----------+
| cactiuser | localhost |
| mysql.session | localhost |
| mysql.sys | localhost |
| root | localhost |
+---------------+-----------+
4 rows in set (0.00 sec)
mysql> select user,host from user;
+---------------+-----------+
| user | host |
+---------------+-----------+
| cactiuser | localhost |
| mysql.session | localhost |
| mysql.sys | localhost |
| root | localhost |
+---------------+-----------+
4 rows in set (0.00 sec)
Re: admin account locked how to unlock
mysql> UPDATE user_auth SET locked = '', enabled = 'on' where username = 'admin';
ERROR 1146 (42S02): Table 'mysql.user_auth' doesn't exist
ERROR 1146 (42S02): Table 'mysql.user_auth' doesn't exist
Re: admin account locked how to unlock
have fixed the issue and able to login now. Thanks for support.
Who is online
Users browsing this forum: No registered users and 0 guests