Re: relationship between pam_module and PAM chains

2012-11-08 Thread Joe Pfeiffer
Kushal Kumaran writes: > Joe Pfeiffer writes: >> >> So where I'm confused is with pam_setcred(). When the program calls >> pam_setcred(), which modules' pam_sm_setcred() functions get called? >> Are they associated with one of the chains, and if so, which one? >> > > Look at the "What is expect

Re: relationship between pam_module and PAM chains

2012-11-07 Thread Kushal Kumaran
Joe Pfeiffer writes: > My question takes enough explanation that I'll just start by asking it; > afterwards I'll explain where it arises. > > I'm trying to understand how PAM works, and have a question regarding > the relationship between PAM chains as defined in /etc/pam.d/* and > fields in stru