LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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, 08:48 AM   #2
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298

Rep: Reputation: 99
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, 08:52 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 09: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, 10:27 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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, 02:49 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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



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 12:09 PM
[SOLVED] Issue with Red Hat Linux Installation upd81 Linux - Laptop and Netbook 1 01-29-2011 12:24 AM
Red Hat Linux (2.4 kernel) Memory issue nmkarvekar Linux - Software 1 05-15-2006 10:01 AM
Red-Hat Linux(2.4 kernel) Memory issue nmkarvekar Linux - Software 1 05-13-2006 02:18 AM
red hat 9 logon error lnxusr01 Linux - Newbie 4 07-15-2003 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration