Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
1
Help us understand the problem. What is going on with this article?
@ysaito8015@github

ThinkPad T495 で, Ubuntu 20.04 上から finger print を利用する

主題の設定を行います

firmware の確認

下記のコマンドを実行し, fingerprint reader のバージョンを確認します

fwupdmgr get-devices

Image from Gyazo

firmware のアップデート

バージョンが古い場合はアップデートを行います

fwupdmgr get-updates

Image from Gyazo

fwupdmgr update

Image from Gyazo

fingerprint reader のライブラリを導入

sudo apt install fprintd libpam-fprintd

pam-auth-update で更新

/usr/share/pam-configs/ 配下の設定を一つのモジュールのように認識してくれます

pam-auth-update - Ubuntu Manpage

sudo pam-auth-update

ダイアログが表示されるので, fingerprint authentication を選択します

Image from Gyazo

/etc/pam.d/common-auth の更新

ユーザー認証のためのモジュール, PAM(Pluggable Authentication Modules)の設定を更新します

sudo vim /etc/pam.d/common-auth

Image from Gyazo

17行目に次の設定を挿入します

auth [success=2 default=ignore] pam_fprintd.so max_tries=1 timeout=10

pam_unix.so との順番が大切です

指紋の登録

指紋を登録します

fprintd-enroll $USER

何度か enroll が要求されます

Image from Gyazo

ドライバを更新していなければ、次のエラーが出ます

Using device /net/reactivated/Fprint/Device/0
failed to claim device: Open failed with error: Device 06cb:00bd is already open

参考ページ

1
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
1
Help us understand the problem. What is going on with this article?