免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1261 | 回复: 0
打印 上一主题 下一主题

Debian下搞定HP6515b指纹识别 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-17 15:57 |只看该作者 |倒序浏览
安装所需要的软件包
——————————————-
~$ sudo apt-get install
aes2501-wy
从http://packages.debian.org获取
libfprint0
,
libpam-fprint

fprint-demo
使用dpkg安装之.
测试aes2501是否工作
———————————————
~$ lsusb
Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
ok下面测试 aes2501 工具,
:~$ sudo aes2501
argc=1 Initializing, please standby...
aesSetup()...
aesStartScan()...
READY (touch the sensor to stop)
Scanning...
Assembling...
将会得到如下图类似的输出

应用到程序中
————————————————–
:~# pam_fprint_enroll --enroll-finger 7
This program will enroll your finger, unconditionally overwriting any selected print that was enrolled previously. If you want to continue, press enter, otherwise hit Ctrl+C
Found device claimed by AuthenTec AES2501 driver
Opened device. It's now time to enroll your finger.
You will need to successfully scan your Right Index Finger 1 times to complete the process.
Scan your finger now.
Enroll complete!
Enrollment completed!
1.su使用指纹认证
编辑/etc/pam.d/su 增加如下行,
auth       sufficient pam_fprint.so
测试是否工作
:~$ su -
Scan right index finger on AuthenTec AES2501
:~#
现在只刷指纹就可以进入到“#”提示符了。
2.应用到认证过程
编辑 /etc/pam.d/common-auth 将如下行
auth    sufficient      pam_fprint.so
放在auth    required    pam_unix.so nullok_secure前
测试是否工作Debian GNU/Linux lenny/sid tty1
login: root
Scan right index finger on AuthenTec AES2501
Last login: Fri Apr 11 22:37:51 MYT 2008 on tty1
Linux 2.6.24-1-amd64 #1 SMP Thu Mar 27 16:52:38 UTC 2008 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
:~#
  • 新的开始~

                   
                   
                   

    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/66237/showart_1003778.html
  • 您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP