This chapter describes the procedures for setting up and maintaining card readers of various types:
Solaris Smartcard supports two external card readers, the iButton and the Sun SCRI External Reader 1, and an internal card reader, the Sun SCRI Internal Card Reader 1.
The following table shows the supported card readers and the corresponding values you need to supply to add them.
Table 3–1 Card Readers Supported
You add a card reader by using the smartcard -c admin command with the following syntax:
smartcard -c admin -t terminal -j card_terminal_factory_name -x add -d device_pathname -r user_friendly_reader_name -n card_reader_model
Refer to the smartcard(1M) man page for more information.
Attach 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.
Become superuser on the system where you are attaching the card reader.
Add the iButton reader by typing, for example, the following on one line:
# smartcard -c admin -t terminal -j com.ibutton.oc.terminal.jib.iButtonCardTerminalFactory -x add -d /dev/cua/b -r MyButtonReader -n DS1402 |
Stop ocfserv.
# pkill ocfserv |
The ocfserv process is restarted the next time you use the Smartcard Console or the smartcard command.
Attach 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.
Become superuser on the system where you are attaching the card reader.
Add the Sun SCRI External Card Reader 1 by typing, for example, the following command on one line:
# smartcard -c admin -t terminal -j com.sun.opencard.terminal.scm.SCMStc.SCMStcCardTerminalFactory -x add -d /dev/cua/b -r MyExternalReader -n SunSCRI |
Stop ocfserv.
# pkill ocfserv |
The ocfserv process is restarted the next time you use the Smartcard Console or execute the smartcard command.
Become superuser on the system where you are attaching the card reader.
Add the Sun SCRI Internal Card Reader 1 by typing, for example, the following command on one line:
# smartcard -c admin -t terminal -j com.sun.opencard.terminal.scm.SCMI2c.SCMI2cCardTerminalFactory -x add -d /dev/scmi2c1 -r MyInternalReader -n SunISCRI |
Stop ocfserv.
# pkill ocfserv |
The ocfserv process is restarted the next time you use the Smartcard Console or execute the smartcard command.
You might need to remove an external card reader from a system when a user no longer needs to use a smart card, or when you want to move the card reader to another system. Be sure to remove the card reader logically before you disconnect the physical device.
Click Card Readers in the Navigation pane.
Select the card reader in the Console pane that you want to remove.
Select Remove Terminal from the Action menu.
Click OK to remove the card reader.
Restart ocfserv, if prompted.
The ocfserv process is restarted the next time you use the Smartcard Console or execute the smartcard command.
Become superuser on the system with the card reader to be removed.
Remove the card reader.
# smartcard -c admin -t terminal -r user_friendly_reader_name -x delete |
(Optional) Unplug the external card reader from the port.
Stop ocfserv.
# pkill ocfserv |
The ocfserv process is restarted the next time you use the Smartcard Console or execute the smartcard command.