Originally posted by: SystemAdmin
Hi, what are the different possible criterias for unix user account getting locked in AIX?
From the system logs, it looks like
multiple login attempts with incorrect password is not the only reason for account getting locked. Meaning, even if the log shows a few successful login attempts and zero unsuccessful login attempts, the account still gets locked.
Excerpt from log: (grep -v "Failed none for invalid user" | grep -v "failed login attempt" | grep -v "Failed password for invalid user)
Jun 18 16:50:02 mytestserver auth|security:info sshd
884972:
Login restricted for myuser: 3004-303 There have been too many unsuccessful login attempts;
please see \tthe system administrator.
Jun 18 17:04:44 mytestserver auth|security:info sshd
716870:
Accepted password for myuser from xx.xx.xx.xx port 2753 ssh2
Jun 18 17:05:28 mytestserver auth|security:info sshd
958718:
Accepted password for myuser from xx.xx.xx.xx port 1375 ssh2
Jun 18 17:11:24 mytestserver auth|security:info sshd
1363968:
Accepted password for myuser from xx.xx.xx.xx port 1291 ssh2
Jun 18 17:13:47 mytestserver auth|security:info sshd
1269902:
Accepted password for myuser from xx.xx.xx.xx port 3605 ssh2
Jun 18 17:18:34 mytestserver auth|security:info sshd
1269920:
Accepted password for myuser from xx.xx.xx.xx port 3162 ssh2
Jun 18 17:18:53 mytestserver auth|security:info sshd
786586:
Accepted password for myuser from xx.xx.xx.xx port 1398 ssh2
Jun 18 17:19:09 mytestserver auth|security:info sshd
721044:
Accepted password for myuser from xx.xx.xx.xx port 3173 ssh2
Jun 18 18:46:50 mytestserver auth|security:info sshd
1413280:
Login restricted for myuser: 3004-303 There have been too many unsuccessful login attempts;
please see \tthe system administrator.
#AIX-Forum