Solaris Smart Cards Administration Guide

How to Change a PIN on a Smart Card (Command Line)


Caution - Caution -

Be sure to type the new PIN correctly because you will not be prompted to confirm it.


  1. Make sure the smart card is inserted in the card reader.

  2. Become superuser.

  3. Change the PIN.


    # smartcard -c init -A A000000062030400 -P '$$$java' pin=001234
    

    Enclose the default PIN, $$$$java, or any PIN containing shell special-characters (such as $) within single quotes. Otherwise, the shell tries to interpret the PIN as a variable, and the command fails.