ssh authentication failed problem use freeradius & pam_radius

Alan DeKok aland at deployingradius.com
Sat May 5 13:10:57 CEST 2012


小牧 wrote:
> I am trying to use pam_radius to authenticate SSH login.My system is
> Centos 5.6 64bit.
> When I try to authenticate with ssh but failed,I am sure the shared
> secret is correct.

  The shared secret is correct.

> [pap] login attempt with password "? INCORRECT"

  This is an issue with PAM on the client machine.  Some other module is
doing password checking.  When the password check fails, it re-sets the
password to "INCORRECT".  That password is then sent to the pam_radius
module.

  Go fix the client so that the PAM modules don't change the password.

  Alan DeKok.


More information about the Freeradius-Users mailing list