| performing smartcard authentication 基本内容: smartcard的概念 执行smartcard的管理 发现smartcard操作上的故障并解决 smartcard是一张嵌有微处理器,一个内存芯片,或者二者兼而有之的卡.它被广泛用于电子商务,通信,计算机安全以及网络应用程序. 要使用smartcard,需要: 1,运行在solaris8或solaris9上的SPARC系统 2,内在或外在支持的读卡机 3,smartcards solaris smartcard支持以下几种smartcards以及读卡机: payflex card,cyberflex card,ibutton card,sun SCRI internal card terminal reader,dallas semiconductor ibutton serial card terminal reader,GIS smart mouse serial card terminal reader OCF server deamon是用来和连接在主机上的smartcards进行通信的.在启动的时候,OCF server通过读属性文件/etc/smartcard/opencard.properties来判断读卡机和卡是否已经连接上了. 执行smartcard的管理要遵从下面的步骤: 1,启动smartcard控制台 2,激活读卡机 3,激活卡的服务 4,为一个新的smartcard添加支持 5,在smartcard上装载一个java程序 6,在smartcard上创建用户信息 7,激活smartcard操作 8,配置smartcard一些选项 在图形界面下启动smartcard控制台要遵从下面的步骤: 1,以root用户登陆并输入以下命令驱动smartcard控制台 # /usr/dt/bin/sdtsmartcardadmin & 2,在workspace菜单下选择tools子菜单,然后选择smart card 3,选择安装在系统上正确的读卡机,选择card readers 非root用户可以运行smartcard控制台,但是只限于执行两项任务:装载java程序和配置 java程序 4,双击card readers 5,双击add readers 当smartcard配置出现错误不允许一个用户登陆或者不再使用smartcard这种登陆方式的时候,做为root用户,可以使用命令: # smartcard -c disable来停止它的使用 有关smartcard配置信息存放在文件/etc/smartcard/opencard.properties文件里面,禁止被手动编辑.如果发现smartcard配置有错误的时候,可以用之前备份的完好的文件来替换错误的文件,操作如下: # cd /etc/smartcard # cp opencard.properties opencard.properties.bad # cp opencard.properties.bak opencard.properties |