Use the following procedure to enable smart-card debugging.
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 |
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 |