 Trevor
		
			Trevor
		
		
		.png) 
		
		
		
		
		
	
			
		
		
			
					
		 Blue_bird
		
			Blue_bird
		
		
		 
		
		
		
		
		
	
			
		
		
			
					
		The user account faillock options should be stored in/etc/security/faillock.conf:
deny=4
unlock_time=1200
silent
Thanks
 Trevor
		
			Trevor
		
		
		.png) 
		
		
		
		
		
	
			
		
		
			
					
		Thanks Blue_bird!!
 Chetan_Tiwary_
		
			Chetan_Tiwary_
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		@Trevor If you have RHEL 7 , you can use this command :
authconfig --enablefaillock --faillockargs="deny=6 unlock_time=1200" --update
or choose to include pam_faillock in /etc/pam.d/system-auth and /etc/pam.d/password-auth ( refer : https://access.redhat.com/solutions/7002274 ).
otherwise for RHEL 8 & 9 use as mentioned by @Blue_bird :
/etc/security/faillock.conf :
deny=4 unlock_time=1200 silent
 Trevor
		
			Trevor
		
		
		.png) 
		
		
		
		
		
	
			
		
		
			
					
		Thanks Chetan for taking me back down memory lane, with how to get things done in RHEL 7. I've consulted with the judges, and they say, the RHEL 9.X solution it is!!!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.