Author: Derek Leung 

Product version: 2024.X (tested on 2024.2)



Need

Customer wants to disable the Maximum Login Attempt feature introduced since 2024.1.  They are using the AWS Marketplace QuickStart VM.



Detailed Solution

SSH to your AWS Marketplace QuickStart VM and run the following commands:

 

ubuntu@ip-XX-XX-XX-XX:~$ cd /etc/xdm
ubuntu@ip-XX-XX-XX-XX:/etc/xdm$ ls -la
total 20
drwxrwxr-x 2 root root 4096 Oct 3 14:29 .
drwxr-xr-x 105 root root 4096 Oct 3 15:05 ..
-rw-r--r-- 1 root tomcat 798 Oct 3 14:29 config.properties
-rw-r--r-- 1 root root 950 Apr 4 2024 grant-privileges.sql
-rw-r--r-- 1 root tomcat 427 Oct 3 14:29 local.keystore
ubuntu@ip-XX-XX-XX-XX:/etc/xdm$ sudo vi config.properties
HTML

 

Add the following line at the end of the file.


xdm.idm.maxloginattempts.enable=false
HTML

 

Save the file and restart Tomcat.

 

ubuntu@ip-XX-XX-XX-XX:/etc/xdm$ sudo service tomcat9 stop
ubuntu@ip-XX-XX-XX-XX:/etc/xdm$ sudo service tomcat9 start
HTML