Solaris Smartcard Administration Guide

ProcedureTo Enable Debugging (Command Line)

Use the following procedure to enable smart-card debugging.

  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. Enable smart card debugging by setting debugging=1.

    # smartcard -c admin -x modify debugging=1

    In the following example, the location of the ocfserv debugging file is changed. The location is changed by using the -x modify debugging.filename option and by specifying a fully qualified file name for the debugging file.

    # smartcard -c admin -x modify debugging.filename=/var/tmp/sc.debug