SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

This script 'authenticates' a user by checking the serial number of a the OpenPGP Card using GnuPG and PCSC.

It might be a good example to get you started for your own authentication system.

Example pam configuration:

auth            sufficient      pam_extern.so /lib/security/pam_extern_openpgp.sh
auth            required        pam_unix.so
auth            required        pam_tally.so file=/var/log/faillog onerr=succeed no_magic_root
auth            required        pam_shells.so
auth            required        pam_nologin.so

With this configuration you just have to stick in your card, enter your username and you're logged in. If the authentication against your OpenPGP Card failed you are handed to pam_unix and can log in with your normal password.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.