在ubuntu9.10上使用指纹识别
来源:互联网 发布:17网络批发市场 编辑:程序博客网 时间:2024/05/02 01:13
把下面这几个包装上:
libpam-thinkfinger thinkfinger-tools libthinkfinger-doc libthinkfinger0 libthinkfinger-dev
然后
sudo tf-tool --acquire
测试是否正常获取指纹数据,需要正确的刷3遍即可通过。
一般显示如下图所示:
squall@squall-laptop:~$ sudo tf-tool --acquire
[sudo] password for squall:
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] password for squall:
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.
生成的认证文件的位置:~/.thinkfinger.bir。
sudo tf-tool --verify
测试能否正确验证指纹,需要正确的刷1遍即可通过。
squall@squall-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 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/squall.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
authrequisitepam_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
authrequiredpam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
# 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
authrequisitepam_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
authrequiredpam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
- 在ubuntu9.10上使用指纹识别
- 在ubuntu9.10上安装vmware2.0
- 在Ubuntu9.10上安装配置LVS
- 在ubuntu9.10上安装Samba服务器
- BugZilla在Ubuntu9.10上的安装
- 在ubuntu9.10上安装DB2
- 在笔记本上硬盘安装ubuntu9.10
- 在ubuntu9.10 上打造ftp服务器
- T530 在 Linux Mint 16 上使用指纹识别
- 在Ubuntu9.10上安装配置keepalived与LVS配合使用
- 在ubuntu9.10 下使用gtkmozembed构件
- 在ubuntu9.10 下使用gtkmozembed构件
- 在windows上通过硬盘安装ubuntu9.10的方法
- Ubuntu9.10在ARM上建立NFS服务
- 在Ubuntu9.10上折腾Maemo SDK5的过程
- 在64位Ubuntu9.10上安装OAS 10.1.3.4
- 在Ubuntu9.10上搭建svn+hudson环境
- Android2.3在Ubuntu9.10(32bit)上的编译
- dojo—djConfig的解说
- 37个网页web2.0按钮色设计欣赏
- ubuntu 9.10 wireshark 分享
- PHP的Session操作说明
- 疯狂的程序员
- 在ubuntu9.10上使用指纹识别
- Perl语言简介
- Tab Control控件的使用
- struts2+spring+hibernate+json+jquery+flexigrid开发笔记-flexigrid改造
- 找回旧帖:谢谢斩月,谢谢monkeycz,谢谢dtcser,谢谢超级大BUG
- 观察者模式
- 开博之谈
- 通用软件开发平台(General Software Developing Platform)设想:1
- C#开发WPF/Silverlight动画及游戏系列教程(Game Tutorial):(四十六)飞行模式 – 自由VS天空