To do PIN authentication in the PAM module look at the code for security.h. You will need to call a VerifyPIN function in the pam module. You could provide a PIN prompt instead of a password and then call the VerifyPIN function. A 90 00 response would inform you of a successfull verification. Create the PIN file using XCard with a 4 or 8 digit PIN number. Thanks Dave *************************************************************** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***************************************************************
