Solaris Smartcard Administration Guide

ProcedureTo Set Up a User Profile (Command Line)

If you prefer the command line, use the following procedure.

Steps
  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. Set the user name and the password for the dtlogin application.

    Type the following on one line to set the user name to x and the password to y for the dtlogin application. In this example, the PIN is $$$$java, the default value.


    # smartcard -c init -A A0000000620304000 -P '$$$$java' user=x password=y application=dtlogin
    

    Note –

    You must type the loaded applet ID and the current PIN. In the previous example, -A A000000062030400 specifies the SolarisAuthApplet applet ID. The PIN is the default SolarisAuthApplet value. Enclose the PIN, $$$$java, or any PIN that contains the shell special characters—such as $—within single quotes. Otherwise, the shell tries to interpret the PIN as a variable, and the command fails.


See Also

For more information, see To Create User Information on a Smart Card (Command Line).