New user first login attempt gets "Account locked. Maximum attempts reached"
I created a new user and set a password. when I tried to login with user account I got "Your account is locked out. Maximum number of attempts reached" - on the first attempt. I've created several new users and tried again with the same outcome - locked out. I even tried "usermod -U and --unlock" to unlock just in case, but that did not work. The /etc/shadow file does not show an ! before the encrypted password and the User Manager GUI does not have a check mark for account locked out. The /etc/pam.d/system-auth has:
auth required /lib/security/$ISA/pam_tally2.so onerr=fail deny=3 I could understand if deny=0 was set but it is set to 3. What gives? |
What distro are you using?
What do the lines in shadow for those users look like (minus the password hashes)? What do you get in /var/log/(messages|secure) for those failed login attempts? What's the date on the system? Cheers, Tink |
What tool has been used to create those user accounts? It would be very weird if the traditional useradd (sometimes also called adduser) tool would give such results.
Linux |
All times are GMT -5. The time now is 02:08 PM. |