User Accounts have to be enabled manually

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

Moderators: Developers, Moderators

Post Reply
MissAkiiki
Posts: 9
Joined: Fri Sep 18, 2015 2:29 am

User Accounts have to be enabled manually

Post by MissAkiiki »

Hi there,
I recently set up Cacti 1.1.10 running on Ubuntu Server 16.04.3.
All the user accounts we created were set to "Enabled" to login except recently when some of the users had trouble logging in to the portal with error "Error: Access Denied, user account disabled."
Only the admin user account works fine.
I checked the auth_method value in the cacti database and it is set to 1.
Please help.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: User Accounts have to be enabled manually

Post by netniV »

There have been a number of auth changes over the past few months to fix some issues around logging in. Can you update to the latest version?

You can check the following to see what the current state is:

Code: Select all

SELECT * FROM settings where name in ('secpass_lockfailed','secpass_unlocktime');
SELECT username, lastfail, failed_attempts, locked, password FROM user_auth;
If you get no settings back from the secpass fields, don't worry the system just uses the default.

Any invalid login attempt should be recorded in the CLOG
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
MissAkiiki
Posts: 9
Joined: Fri Sep 18, 2015 2:29 am

Re: User Accounts have to be enabled manually

Post by MissAkiiki »

Thank you and apologies for the delayed response. I managed to upgrade Cacti to 1.1.30. I'm still facing this issue. All the users are disabled after about 5 minutes of enabling them.
MissAkiiki
Posts: 9
Joined: Fri Sep 18, 2015 2:29 am

Re: User Accounts have to be enabled manually

Post by MissAkiiki »

I'm going to have to recreate the users accounts. Tested with 2 users and they remain enabled after 10-plus minutes.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest