2. Getting Started With Solaris Smartcard
3. Adding or Removing a Card Reader
To Add Internal Card Reader (Command Line)
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. Refer to the following procedures:
The following command provides the status of the service.
% svcs network/rpc/ocfserv
Note - Before you make any changes to Smartcard, you must make sure that the ocfserv daemon is enabled.
# svcadm enable network/rpc/ocfserv
A dialog box is displayed, asking if you are sure you want to remove the card reader.
A dialog box is displayed, stating that the OCF Server must be restarted to complete the operation.
The IFD handler is not removed until OCF is restarted. The ocfserv process is restarted the next time you start the Smartcard Console or execute the smartcard command. You can explicitly restart OCF from the command line.
The following command provides the status of the service.
% svcs network/rpc/ocfserv
Note - Before you make any changes to Smartcard, you must make sure that the ocfserv daemon is enabled.
# svcadm enable network/rpc/ocfserv
# smartcard -c admin -t terminal -r user_friendly_reader_name -x delete
# svcadm restart network/rpc/ocfserv
The ocfserv process is restarted the next time you use the Smartcard Console or execute the smartcard command.