Tag Archives: 8.04

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

然后就爽去吧

Posted in Linux, Tips | Also tagged , , , | 1 Comment