Be sure to type the new PIN correctly because you will not be prompted to confirm it.
Insert your smart card in the card reader.
Change your PIN.
% smartcard -c init -A A000000062030400 -P `old_PIN' pin=new_PIN |
old_PIN |
Is your current PIN. |
new_PIN |
Is your new PIN. |
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.