I would like to ban user who fail to login cacti more time.

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

Moderators: Developers, Moderators

Post Reply
baldur
Posts: 12
Joined: Wed Nov 05, 2014 4:52 am

I would like to ban user who fail to login cacti more time.

Post by baldur »

I plan to setup fail2ban to control cacti login from remote ip.
Just find cacti.log, but it doesn't have information about user login, and know the user log write into sql
database for web UI reading.

I should modify which parameter to let cacti write a file to record user login session for fan2ban checking.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: I would like to ban user who fail to login cacti more ti

Post by cigamit »

Here is a plugin that I wrote a while back that can force password complexity / history / expiration and lock accounts after a configurable amount of failed attempts.
Attachments
secpass.zip
(11.57 KiB) Downloaded 45 times
baldur
Posts: 12
Joined: Wed Nov 05, 2014 4:52 am

Re: I would like to ban user who fail to login cacti more ti

Post by baldur »

cigamit wrote:Here is a plugin that I wrote a while back that can force password complexity / history / expiration and lock accounts after a configurable amount of failed attempts.
Thanks for your solution, and I find a new

Cacti Settings (Authentication) => Account Locking

and it works :

"This account has been locked."
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest