Solaris Smart Cards Administration Guide

How to Add a Sun SCRI External Card Reader 1 (Command Line)

  1. Become superuser on the system where you are attaching the card reader.

  2. Ensure that you have already physically attached the external card reader to the system.

    Physically attach the external smart card reader to the serial port, following instructions in the card reader documentation.

  3. Add the Sun SCRI External Card Reader 1 by typing the following command on one line. For example:


    # smartcard -c admin -t terminal 
    -j com.sun.opencard.terminal.scm.SCMStc.SCMStcCardTerminalFactory 
    -x add -d /dev/cua/b -r MyExternalReader -n SunSCRI
    

    -c admin

    Indicates that you are viewing or modifying OCF properties. 

    -t terminal

    Indicates you are configuring a card reader. 

    -j

    com.sun.opencard.terminal.scm.SCMStc.SCMStcCardTerminalFactory

    Is the card terminal factory name of the Sun SCRI External Card Reader 1. 

    Be careful to type the card terminal factory name following -j option exactly as shown in the procedure above, with no spaces or returns between characters.

    -x add

    Indicates that you want to add a card reader. 

    -d /dev/cua/b

    Defines the device port where the card reader is attached. 

    -r MyExternalReader

    Specifies a unique name for the SCRI External Card Reader 1. 

    -n SunSCRI

    Indicates the model name for the SCRI External Card Reader 1. 

  4. Stop ocfserv.


    # pkill ocfserv
    

    The ocfserv process is restarted the next time you use the SmartCard Console or the smartcard command.