Solaris Smartcard Administration Guide

ProcedureTo Verify a PIN for a Smart Card

Use this procedure to verify the PIN for a smart card.

  1. Verify that the ocfserv daemon is enabled.

    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.

  2. (Optional) If necessary, as root, enable the ocfserv daemon.

    # svcadm enable network/rpc/ocfserv
  3. Insert the smart card into the card reader.

  4. 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.