Debugging a PAM Module

Michael Nguyen michaeln at u.washington.edu
Fri Mar 23 06:01:11 UTC 2007


Hello all,

So I'm trying to write a two-factor authentication PAM module using XMLRPC 
(MyPW as the backend).  I used the sample PAM modules that come with 
PAM-devel and I got something that works on some clients but not others.  I 
haven't quite figured out why it's not working on some clients, but I was 
wondering if this list could give me some advice.  I tried debugging using 
gdb, but I couldn't see the variables unless I compiled without 
optimizations.  Unfortunately, when I did that I found that the module 
didn't work!

What would you all suggest I do from here?  I have the source code if anyone 
wants to look at it.


Michael




More information about the Pam-list mailing list