Solaris Smartcard supports an internal card reader, using the IFD handler to configure the reader. Do the following to add an internal card reader from the command line.
Verify that the ocfserv daemon is enabled.
The following command provides the status of the service.
% svcs network/rpc/ocfserv |
Before you make any changes to Smartcard, you must make sure that the ocfserv daemon is enabled.
(Optional) If necessary, as root, enable the ocfserv daemon.
# svcadm enable network/rpc/ocfserv |
Add the Sun Internal Card Reader by typing, for example, the following command on one line:
# smartcard -c admin -t terminal -H /usr/lib/smartcard/ifdh_scmi2c.so -x add -d /dev/scmi2c0 -r MyInternalReader -n SunISCRI |
Indicates that you are viewing or are modifying OCF properties.
Indicates you are configuring a card reader.
Indicates that you are adding a card reader.
Defines the device port where the card reader is attached. For example, /dev/scmi2cn, where n is the nth Sun Internal Card Reader on the system. Note that no current systems have more than one internal reader, so /dev/scmi2c0 is the only choice now.
Specifies a unique name for the Sun Internal Card Reader.
Indicates the model name for the Sun Internal Card Reader.
Restart ocfserv.
# svcadm restart network/rpc/ocfserv |
The ocfserv process is restarted the next time you use the Smartcard Console or execute the smartcard command.