pam_setcred() without pam_authenticate()?

Frank Cusack fcusack at
Thu Jun 5 07:38:27 EST 2003

Should pam_setcred() be called if pam_authenticate() wasn't called?
I would say not; both of these functions are in the authenticate
part of pam.

It seems the the 'auth' part of pam config controls which modules get
called, so if you didn't to _authenticate() you shouldn't do _setcred().


More information about the openssh-unix-dev mailing list