Skip to main content
Level 3
Oct 26, 2020 7:49 AM UTC
Solved

Trigger action when operator log via console

Hello,

We are trying to log failed attempts to login via the console, in order to deactivate operator account after x failed attempts.

Do you know how it is possibe to run a script when user try to login (and failed)?

Thank you,

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Manoj_Kumar
Manoj_KumarAccepted solution
Community Advisor
Oct 26, 2020 12:31 PM UTC

Hello @roro_coeur ,

 

logins.log file logs all the data for the logins. You can read that file to find out the failed logins and apply the logic via the workflow.

 

Path of the login log file: /usr/local/neolane/nl6/var/INSTANCE_NAME/logins.log 

 

Thanks,

Manoj

 

 

Manoj  | https://themartech.pro

4 replies

Manoj_Kumar
Community Advisor
Manoj_KumarCommunity AdvisorAccepted solution
Community Advisor
Oct 26, 2020 12:31 PM UTC

Hello @roro_coeur ,

 

logins.log file logs all the data for the logins. You can read that file to find out the failed logins and apply the logic via the workflow.

 

Path of the login log file: /usr/local/neolane/nl6/var/INSTANCE_NAME/logins.log 

 

Thanks,

Manoj

 

 

Translate
Manoj  | https://themartech.pro
Level 3
Oct 26, 2020 1:03 PM UTC
Thank you Manoj, I had this solution in mind if no other solution was possible... reading the file every minute sound a bit heavy..
Translate
Sukrity_Wadhwa
Level 4
Nov 4, 2020 2:24 PM UTC

Hi @roro_coeur,

Were you able to resolve this query with the given solution or do you still need help? Do let us know.

Thanks!

Translate
Sukrity Wadhwa