Mark Valence wrote: > > My program loads a shared lib (.so) that then calls pam_start, etc. > pam_start succeeds, but when I call pam_authenticate it fails with > error "Module is unknown". > > Same exact code works when linked into the main program (i.e., not in > the .so). Is there anything special about using pam from within a > .so? http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pam/Linux-PAM/dynamic/pam.c?rev=1.1&content-type=text/vnd.viewcvs-markup Feedback appreciated. Cheers Andrew