LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New user first login attempt gets "Account locked. Maximum attempts reached" (https://www.linuxquestions.org/questions/linux-newbie-8/new-user-first-login-attempt-gets-account-locked-maximum-attempts-reached-741717/)

p3t0rt 07-21-2009 10:44 AM

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?

Tinkster 07-21-2009 12:41 PM

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

jeromeNP7 07-21-2009 04:40 PM

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 04:46 PM.