After a long time of stable work of a Linux server (RHEL 5) it suddenly started to refuse logins under regular users. Only root logins were allowed. I guess, it's because of password expiration of my user (the only interactive non-root user in the system) or after some system update which has been done by another adminstrator.
First of all I tried to reset password of my user under root "passwd <user>", but it didn't do the trick. What was strange is that su didn't prompt for password and just returned "su: incorrect password"
There were a lot of reasons of such a problem which were described on a lot of forums. The only solution that helped me has been shown by dballagh in this thread:pam_tally --user <user> --reset
My user has been blocked by pam_tally module after password expiration or a lot of failed logins.
A bit about
Hello, everyone! All you can see below is just my bank of information. Some material I've found in the fathomless net, some I've learned myself. Don't think all of the information here is right or actual, but may be it could be of use for you :) All feedback is welcome, especially constructive ones :)
Sunday, January 17, 2010
su: incorrect password
Subscribe to:
Post Comments (Atom)
Your post above is a life saver. Solved my similar issue. Thanks.
ReplyDelete