pam_setcred() without pam_authenticate()?

Frank Cusack
Wed, 04 Jun 2003 21:38:27 -0000

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().

thx
/fc