- 论坛徽章:
- 0
|
安装所需要的软件包
——————————————-
~$ 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 |
|