Ubuntu下用指纹识别

一直对这个鸡肋设备很不感冒,直到在Ubuntu下加上了指纹识别。安装很简单,效果很强筋。不只是开机可以用指纹,任何时候,只要系统要求输入root user密码,你都可以刷指纹。Are you getting me?在Terminal下用sudo可以刷,在Gnome下执行高级任务可以刷,真是太爽了。

在ubuntu 8.04下软件已经在库里了

sudo apt-get install libpam-thinkfinger thinkfinger-tools

把/etc/pam.d/common-auth改一下,这样只要要密码的时候都可以刷,哈哈

# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
# traditional Unix authentication mechanisms.
#
auth sufficient pam_thinkfinger.so
auth required pam_unix.so try_first_pass nullok_secure

再把你的指纹存一下,要刷三次
sudo tf-tool --acquire
然后把指纹关联一下
sudo tf-tool --add-user 用户名
然后启用(我没运行就能用了)
$ sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable

然后就爽去吧

This entry was posted in Linux, Tips and tagged , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. delphi1000
    Posted August 27, 2008 at 11:26 am | Permalink

    t61带有指纹啊。。。。不错。。。。有钱了,也买一个类似的设备玩玩。。。。。pam的这个库是不是带有全套库文件啊。。。。是不是只是装一个pam就ok了啊。。。。我记得pam还拥有10个左右的插件库。。。是不是都要装上啊。。。。还是说这个库是特有的?我看这个写的是thinktools是否支持其他机器上面的指纹设备啊。。。。比如compaq的相关设备。。。。还是说都支持啊。。。。或者只是支持ibm think系列?

    [Reply]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*