1.Synapticパッケージマネージャのリポジトリに以下を追加
deb http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse
deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse
2.ThinkFingerのパッケージインストール実行
$ sudo apt-get install thinkfinger-tools libpam-thinkfinger
3.指紋認証のテスト
$ sudo tf-tool --acquire ←テスト用仮登録
ThinkFinger 0.2.2 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig
Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.
Storing data (/tmp/test.bir)... done.
$ sudo tf-tool --verify ←指紋認証テスト
ThinkFinger 0.2.2 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig
Initializing... done.
Please swipe your finger (successful swipes 1/1, failed swipes: 0)... done.
Result: Fingerprint does match.
補足)tf-toolの起動でエラーが発生の場合
発生するエラー:
$ sudo tf-tool --acquire
tf-tool: error while loading shared libraries: libthinkfinger.so.0: cannot open shared object file: No such file or directory
対策:
以下のコマンドを実行
$ sudo ldconfig
4./etc/pam.d/common-ahtu ファイルを以下の通り修正
#
# /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
5.ユーザの指紋を登録
$ sudo tf-tool --add-user ユーザ名
6./etc/modulesファイルにuinputを追加
#/etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
fuse
lp
sbp2
uinput
0 件のコメント:
コメントを投稿