Operating System - Linux
1838568 Members
4591 Online
110127 Solutions
New Discussion

Re: Linux User authentication by PAM

 
Rameshrajan
Occasional Contributor

Linux User authentication by PAM

Hi experts,

I have a lionux user account which was not able to login even after password resets. It always says "Login Failure". I think it is something to do with PAM authentication. Do some one have an idea how to reset the PAM Access failure counts? Any help is highly appreciated

Regds
Ramesh
5 REPLIES 5
K.C. Chan
Trusted Contributor

Re: Linux User authentication by PAM

Ramesh,
you you tried loging in with other users? Just trying to eliminate user-errrrr aspect of it.
Reputation of a thousand years can be determined by the conduct of an hour
Stuart Browne
Honored Contributor

Re: Linux User authentication by PAM

Some more details here please.

Log in using what protocol?

Log in using what user?

It quite possibly has something to do with PAM, but as far as I'm aware, it doesn't keep score on how many bad user attempts you've made and lock you out, unless you've already tweaked the configuration.
One long-haired git at your service...
Vijaya Kumar_3
Respected Contributor

Re: Linux User authentication by PAM

I hope you mess up with /etc/pam.d/system-auth. Try to run authconfig program to make sure everything related to authentication with PAM works just fine.

Thanks
Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Steven E. Protter
Exalted Contributor

Re: Linux User authentication by PAM

from the console

tail -f /var/log/messages

Then attempt a login.

This will tell you whether the login attempt even gets to the point where it talks to the server.

You may also want to check the configuration of the firewall:

service ipchains stop
service iptaqbles stop

Try the login again, because the firewall can be messing with you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alexander Chuzhoy
Honored Contributor

Re: Linux User authentication by PAM

The first thing I would do is to go to
/etc/security folder and do less on access.conf + time.conf files

These are mostly used to limit users' login by console/time .
Try to locate the line that starts without preceding #. This means that the line actually does limit someone.....


Best regards...