User information includes login name, password, and the application that the card provides access to.
Insert the card in the card reader.
Verify that the ocfserv daemon is enabled.
The following command provides the status of the service.
% svcs network/rpc/ocfserv
Before you make any changes to Smartcard, you must make sure that the ocfserv daemon is enabled.
(Optional) If necessary, as root, enable the ocfserv daemon.
# svcadm enable network/rpc/ocfserv
Set the login name, password, and application for the card.
Type the following on one line:
# smartcard -c init -A A000000062030400 -P '$$$$java' user=me password=xx application=dtlogin
This command is appropriate for all smart card devices that are supported by Solaris Smartcard.
In this example, the user name is set to me, the password to xx, and the application is dtlogin. The user name and password can be set to any value. The user name and password can be changed by a system administrator or by the user when the card is issued. See To Set Up a User Profile (Console) for instructions.
You must enter the loaded applet ID and the current PIN. The -A A000000062030400 part of the command specifies the SolarisAuthApplet applet ID. You must 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.
For Smartcard Console instructions, see the following: