Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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!!!
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????
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.