Andy Ning d31ed71ae0 CentOS lockout user after 5 consecutive failed login
Current pam configuration allows user to login with correct
password right after 5 consecutive failed attempts. This change
updated pam configuration to ensure a lockout of the user for
5 mins after the 5 failed login.

Test Plan on CentOS:
PASS: OS user lockout for 5 mins after 5 failed login attempts on
      console.
PASS: OS user lockout for 5 mins after 5 failed login attempts on
      ssh.
PASS: ldap user lockout for 5 mins after 5 failed login attempts on
      console.
PASS: ldap user lockout for 5 mins after 5 failed login attempts on
      ssh.

Closes-Bug: 1977553
Signed-off-by: Andy Ning <andy.ning@windriver.com>
Change-Id: I186b0a1c45035cb1c6059262d8c8c2ae87670dbd
2022-06-06 10:14:55 -04:00
..