Solaris Smart Cards Administration Guide

How to Assign a Default Smart Card to a Client Application (Command Line)

The application_name.authmechanism property enables you to assign an authentication mechanism to a particular application.

  1. Become superuser on the system with the client properties you want to modify.

  2. Assign a default smart card type to an application.


    # smartcard -c admin -a application_name -x add defaultcard=card_name
    

    application_name

    Is the application for which you want to define a default smart card type. 

    card_name

    Is the smart card type that must be used to log in to this application, either CyberFlex, PayFlex, or IButton.

    For example, to define iButton as the default card type for a system's desktop, type:


    # smartcard -c admin -a dtlogin -x add defaultcard=IButton
    

    Thereafter, when you run smartcard -c admin, you see the following client properties:


    dtlogin.defaultcard       = IButton
    default.validcards        = CyberFlex PayFlex