LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-21-2014, 09:23 AM   #1
trailmaster
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Rep: Reputation: Disabled
Red Hat Linux logon issue


After a shutdown of system, (push button
powering off) users can't logged back in says they have reached limit on attempts. How do I fix it and what causes it.
 
Old 10-21-2014, 09:48 AM   #2
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298

Rep: Reputation: 98
In my experience, if it is limits on attempts, it is a pam issue, and it happens based on the way you have pam set up to monitor & failed logins. To check:

Code:
pam_tally2 -u username
If the user has exceeded the number of failed login attempts as configured in PAM, they will not be allowed to login. You can correct this with:

Code:
pam_tally2 -u username --reset
However, if will be well worth your time to find out WHY users have to many failed logins. Do you have someone trying to compromise your system(s)? Do you have an insider trying to login as other users to do damage that gets blamed on someone else? It will happen from time to time to everyone, but if you are having this issue with all users across your project, I would do some HEAVY investigation!!!
 
Old 10-21-2014, 09:52 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by trailmaster View Post
After a shutdown of system, (push button powering off) users can't logged back in says they have reached limit on attempts. How do I fix it and what causes it.
If you are truly describing what you did (that is, shutdown the system by just powering it off), that may be the cause right there. There is a reason you use the shutdown command, and not just power-cycle the box...that reason is that things could get corrupted. Did you get any fsck warnings upon reboot? Did you fix them?

More importantly, you say you're using Red Hat...but don't tell us WHICH Red Hat you're using. If it's Red Hat Enterprise, have you contacted Red Hat support? You are PAYING FOR RHEL, right????
 
Old 10-21-2014, 10:07 AM   #4
trailmaster
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Sorry, should have given more info, Had a power outage while users that are getting the message were logged on. 2.6.32-431.29.2.X86-64 GNU/Linux \
 
Old 10-21-2014, 11:27 AM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,162

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
Are there any people who were not logged on at the time of the power failure? If so, can they still log in? If they can't, there might be corruption of /etc/passwd or /etc/shadow.
 
Old 10-21-2014, 03:49 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
ok the story changed
from press the power button
( unknown if it was a <1 sec. press or a 5 second FORCE OFF press )

to now a power outage

remove the left over .pid lock files for those users

red hat tech support will be able to go into details on your set up
but they should be in the users /tmp/?????? folder

Quote:
2.6.32-431.29.2.X86-64 GNU/Linux
that is the kernel version and NOT the operating system version

a question ?
Did you read any of the redhat documentation ?
https://access.redhat.com/documentat...erprise_Linux/


and to find out YOUR version you read the output of this
Code:
cat /etc/redhat-release
 
  


Reply


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
getting some issue while installing ClearCase 7.1.0.0 on linux(red hat 5.4) deepk Linux - Newbie 2 07-07-2011 01:09 PM
[SOLVED] Issue with Red Hat Linux Installation upd81 Linux - Laptop and Netbook 1 01-29-2011 01:24 AM
Red Hat Linux (2.4 kernel) Memory issue nmkarvekar Linux - Software 1 05-15-2006 11:01 AM
Red-Hat Linux(2.4 kernel) Memory issue nmkarvekar Linux - Software 1 05-13-2006 03:18 AM
red hat 9 logon error lnxusr01 Linux - Newbie 4 07-15-2003 04:45 PM


All times are GMT -5. The time now is 04:49 AM.

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