opensc/src/pam
jey a1349a68c4 - added defaults for FINEID S4-2 (organization) cards
- fixed a few typos
- renamed _sc_sw_to_errorcode() to sc_sw_to_errorcode()
- PAM module now uses RSA_sign instead of RSA_public_encrypt


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@55 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-26 16:14:22 +00:00
..
README - added very partial SSH support 2001-11-20 22:21:58 +00:00
pam_pkcs15.c - added defaults for FINEID S4-2 (organization) cards 2001-11-26 16:14:22 +00:00

README

Steps required to make the PAM module work:

1. Compile and link the pam_pkcs15.so shared library (type 'make').
2. Copy pam_pkcs.so to /lib/security.
3. Edit /etc/pam.d/login file. Add the following line before the
   pam_unix.so (Debian) or pam_pwdb.so (Red Hat) entry:
	auth	sufficient	/lib/security/pam_pkcs15.so
4. Copy your PEM encoded certificate to a file in your home directory
   called '.eid/authorized_certificates'.
   NOTE: You can use the 'sc-tool -r <ID> -o ~/.eid/authorized_certificates'
	 command to get the PEM encoded certificate. Find the ID by saying
         'sc-tool -c'. FINEID card owners should use 45 for the ID.
5. Try to login with your card in the reader.
   If it doesn't work, remove -DNDEBUG from the CFLAGS line in Makefile,
   recompile and try again.