9.1下安装ThinkPad T60指纹识别?
发表于 : 2009-10-17 0:26
哪位大侠有9.1下安装ThinkPad T60指纹识别?
这个问题是第一便?你是老师傅了,你查找就知道了/wzssyqa 写了:这个问题你好像问了不少遍了吧?
呵呵我这机器是07年买的,都3年了。老了都!wzssyqa 写了:以前见到过这个问题,以为沉了,你有发一帖呢
这么高级的东东,我买不起的
恩好像是的,我的是高配的。差不多吧。wzssyqa 写了:t系列呢,现在卖二手也得四五千?
这个数码的东西就是不好说。呵呵winstars 写了:要不了那么多,高配的可能4K,其他的2-3K.
再说了,T的居然买行货?也太冤大头了.水的高配最多也就1W左右
生成的认证文件的位置:~/.thinkfinger.bir。spark@spark-laptop:~$ sudo tf-tool --acquire
[sudo] password for spark:
ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.
Storing data (/home/spark/.thinkfinger.bir)... done.
spark@spark-laptop:~$ sudo tf-tool --verify
ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
Initializing... done.
Please swipe your finger (successful swipes 1/1, failed swipes: 1)... done.
Result: Fingerprint does match.
sudo cp ~/.thinkfinger.bir /etc/pam_thinkfinger/spark.dir
auth sufficient pam_thinkfinger.so
# here are the per-package modules (the "Primary" block)
auth [success=1 default=ignore] pam_unix.so nullok_secure
# here's the fallback if no module succeeds
auth requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth required pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
够详细!请问:thinkfinger的适用范围是什么?仅适用于thinkpad,还是同样适用于其它品牌的指纹设备?再就是这个9.10才能用?还是9.04也可以用?sparksong 写了:把下面这几个包装上:
libpam-thinkfinger
thinkfinger-tools
libthinkfinger-doc
libthinkfinger0
libthinkfinger-dev
然后
sudo tf-tool --acquire
测试是否正常获取指纹数据,需要正确的刷3遍即可通过。
一般显示如下图所示:生成的认证文件的位置:~/.thinkfinger.bir。spark@spark-laptop:~$ sudo tf-tool --acquire
[sudo] password for spark:
ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.
Storing data (/home/spark/.thinkfinger.bir)... done.
sudo tf-tool --verify
测试能否正确验证指纹,需要正确的刷1遍即可通过。spark@spark-laptop:~$ sudo tf-tool --verify
ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
Initializing... done.
Please swipe your finger (successful swipes 1/1, failed swipes: 1)... done.
Result: Fingerprint does match.
把~/.thinkfinger.bir拷贝到/etc/pam_thinkfinger下,并改成登录用户的名字,如我的是:sudo cp ~/.thinkfinger.bir /etc/pam_thinkfinger/spark.dir
修改/etc/pam.d/common-auth文件,在pam_unix2.so这一行的前面加入pam_thinkfinger.so 例如我的就是:auth sufficient pam_thinkfinger.so
# here are the per-package modules (the "Primary" block)
auth [success=1 default=ignore] pam_unix.so nullok_secure
# here's the fallback if no module succeeds
auth requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth required pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
重新启动后就生效了,生效后在登录和sudo之类要输入密码的地方直接输入指纹即可。我的机器配置:Thinkpad X60-BS8 (Centrino Duo).
需要注意的是0.1、0.2、0.3这三个版本的某些操作命令不一样。需要看清tf-tool的版本号,本文是根据现在最新的0.3写的。具体细节可以man tf-tool 或着man pam_thinkfinger来查看,不过里面有些内容是老版本有、新版本不支持的,没有特殊标出来,参考一下还是可以的。
代码: 全选
pity@online:~$ sudo tf-tool --acquire
ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
Initializing...USB device not found.
代码: 全选
DESCRIPTION
ThinkFinger is a driver for the UPEK/SGS Thomson Microelectronics fingerprint reader (USB
ID 0483:2016). The device is being found either as a standalone USB device, built into
USB keyboards or built into laptops (mostly Dell, IBM/Lenovo and Toshiba).
tf-tool is the utility used to acquire and to verify the fingerprints.