8
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

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

Posted at

主題の設定を行います

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

参考ページ

8
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?