The user account faillock options should be stored in/etc/security/faillock.conf:
deny=4
unlock_time=1200
silent
Thanks
Thanks Blue_bird!!
@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
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.