2008-07-26

指纹识别和Ubuntu

我的Thinkpad T61P终于用上指纹识别了,现在登录和sudo的时候不用再输入密码了,直接使用指纹识别就可以了,很好玩。

指纹驱动的安装方法见下:
http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger

Ubuntu

Hardy

Hardy includes the latest thinkfinger and it is up to date with subversion. Install packages:

$ sudo apt-get install thinkfinger-tools libpam-thinkfinger

Update the pam configuration files:

$ sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable

Enroll your fingerprint (creates $HOME/.thinkfinger.bir). If this gives an error about claiming the USB device then reboot.
NOTE!
Do not try to enroll using 'sudo' - it will cause hidden permission problems

$ tf-tool --acquire

Check fingerprint enrollment

$ tf-tool --verify

You can expect everything to work correctly. Note that you still have to enter your username if prompted but will be able to swipe your finger instead of the password. The prompt will usually be "Password or swipe finger"

  • Graphical login
  • Text console login
  • sudo
  • screen lock/screen saver
  • Administrative password prompt (eg for update or package managers). (Note no "or swipe finger" in prompt).

没有什么需要特别注意的,按上面说的做就可以了。

No comments: