Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-21-2009, 10:44 AM   #1
LQ Newbie
Registered: May 2009
Posts: 2

Rep: Reputation: 0
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/ onerr=fail deny=3

I could understand if deny=0 was set but it is set to 3. What gives?
Old 07-21-2009, 12:41 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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?

Old 07-21-2009, 04:40 PM   #3
Registered: Jun 2009
Posts: 101

Rep: Reputation: 19
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.


Last edited by jeromeNP7; 09-04-2009 at 09:16 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lock user account after failed login attempts with FC 10 hv905c Linux - Security 1 05-18-2009 08:44 PM
Locked out of Session by Account; "Somebody" ECRocker SUSE / openSUSE 1 03-16-2009 01:25 PM
"To add a new user account, log in to the root account" how do i do this (im new) pierce77x Linux - Newbie 4 12-28-2008 02:44 PM
Gaim login as "away" with Yahoo! account General Linux - Software 1 01-23-2007 03:41 PM
Root can log on, user account can't. "Error in service module" Charlie Spencer Linux - Newbie 3 09-13-2006 01:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration