分页: 1 / 1
[转帖]Thinkpad指纹识别安装
发表于 : 2008-07-04 0:55
由 xinglili421
在本论坛里找了好久都没有找到安装指纹的方法。我用google找到了一个。
首先通过源安装驱动
sudo apt-get install thinkfinger-tools libpam-thinkfinger
sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable //这个好像是启动指纹驱动的命令
然后测试驱动
tf-tool --acquire //登记指纹,连续输入正确三次指纹
tf-tool --verify //校验
测试成功后为自己的用户添加指纹信息。
sudo -s
tf-tool --add-user [用户名]
tf-tool --verify-user [用户名] //这个是校验用户名下的指纹信息的。
成功后重新登录就你呢个使用指纹了。
发表于 : 2008-07-04 4:04
由 sfbi
没有图形界面,用起来超级麻烦,懒得用了。另,这类问题直接上thinkwiki看不就好了?
发表于 : 2008-07-04 12:29
由 xusamuel
今天更新了一下系统,心血来潮又试了一下tf-tool --acquire居然一切正常了,屏保也能指纹解锁了
我的指纹有点问题,非root用户无法获取指纹
root用户完全正常
目前我是用
代码: 全选
sudo tf-tool --acquire
获取指纹,然后将生成的.thinkfinger.bir文件属主修改成普通用户
登录、sudo都可以用指纹了,但屏保还是不能用指纹解锁
发表于 : 2008-07-04 16:25
由 badcat
楼主的方法固然可以,但登录时要先输入口令,然后再验证指纹,太麻烦了吧
发表于 : 2008-07-08 9:38
由 avenger
没有这个必要,开机的时候设为指纹验证就可以了,还会更安全。
发表于 : 2008-07-08 9:40
由 yjcong
如果那天你手指破了, 弄了个创可帖, 难道你还要受2次伤??
发表于 : 2008-07-09 23:47
由 sanhe
我觉得非常有用,但我这里accquire的时候失败了。提示如下:
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/sanhe/.thinkfinger.bir)...Undefined error occured (0xff).
再试,错误提示成了这样:
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/sanhe/.thinkfinger.bir)...Warning: usb_bulk_read expected to read 0x40 (read 0x34 bytes).
无法终止,只好按Ctrl+C结束。然后再怎么试也都是这样了。
发表于 : 2008-07-09 23:48
由 lethe
发表于 : 2008-07-10 0:12
由 xusamuel
badcat 写了:楼主的方法固然可以,但登录时要先输入口令,然后再验证指纹,太麻烦了吧
不需要两次验证,pam-thinkfinger-enable只是在/etc/pam.d/common-auth中添加上
auth sufficient pam_thinkfinger.so
login时候输入密码或者刷指纹均可直接进入系统
发表于 : 2008-07-29 21:25
由 onixie
xusamuel 写了:badcat 写了:楼主的方法固然可以,但登录时要先输入口令,然后再验证指纹,太麻烦了吧
不需要两次验证,pam-thinkfinger-enable只是在/etc/pam.d/common-auth中添加上
auth sufficient pam_thinkfinger.so
login时候输入密码或者刷指纹均可直接进入系统
是的,我的也不需要两次验证。如果出现两次验证,是不是应该参考下下面的内容。
In order to use pam_thinkfinger, PAM needs to be aware of the module. To
achieve this please edit '/etc/pam.d/common-auth'. You are required to add
the following directive before any pam_unix or pam_unix2 directives:
auth sufficient pam_thinkfinger.so
See [1] for a complete example how '/etc/pam.d/common-auth' looks like.
The module does trigger for users which have deposited their fingerprint
in ~/.thinkfinger.bir, or in the '/etc/pam_thinkfinger/' directory.
E.g. if the user 'bob' wants to login using his fingerprint, his fingerprint
needs either to be stored at /home/bob/.thinkfinger.bir, or at
'/etc/pam_thinkfinger/bob.bir'.
Notes:
If your PAM uses the pam_unix module, you need to pass a specific argument in
the /etc/pam.d/common-auth directive:
auth required pam_unix.so try_first_pass
Otherwise, the password entered at the pam_thinkfinger prompt is not considered
by pam_unix. This is only the case for pam_unix, because pam_unix2
automatically enables the try_first_pass argument by default.
发表于 : 2008-07-30 22:21
由 干小牙
发表于 : 2008-08-05 17:10
由 kevin_zhou
我按照楼主的方法安装了指纹识别,可是在登录的时候,需要先输入用户名,然后才能刷指纹。
发表于 : 2008-08-05 19:34
由 yuhuastones
不错!不错!关注!
如果不用输用户名就好了,不过至少比没有强!哈哈。原本打算自己写一个的