Use this procedure to verify the PIN for a smart card.
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 |
Insert the smart card into the card reader.
As root, type the following to verify the PIN for the smart card.
# smartcard -c init -A A000000062030400 -P 'PIN_number' |
PIN_number represents the PIN set for the card and A000000062030400 is the applet ID for the SolarisAuthApplet.
If the PIN is invalid, an Invalid PIN message is displayed. A valid PIN results in no output.