I'm releasing a PAM utility here in about an hour. It will have an
administrative utility with it. I will have an RPM version for quick
installs. So far it works with login, chfn, chsh, xlock. For xlock you
will need to upgrade to the latest version. It currently works by getting
the serial number off the card and writing it to a /etc/smartpasswd. The
X utility does this for you. For a secure login though you will need to
have the require pam_pwdb also so it give you better security by adding
something you have with something you know. The source will be included
also as a separate tar.gz file. It works really well. My future plans
will have a challenge/response authentication instead of just a serial
number but this is a start. You will need to edit your pam conf files in
order to enable it for certain services. I recommend doing chfn first
until you are positive it is going to work with login.
Have fun,
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
***************************************************************