2010/09/02

How To Set Up Fingerprint Scanner in Linux Mint 9

Fingerprint
The packages for the fingerprint scanner in default repos have a bug that
require to press RETURN after swipping your finger.

SOLVE RETURN KEY STEP

  • Install packages from the following PPA
sudo add-apt-repository ppa:martin-meltin/ppa
sudo apt update
sudo apt-get install thinkfinger-tools libpam-thinkfinger libthinkfinger0
  • Check if uinput module is loaded: lsmod | grep uinput
  • If not, load the module: modprobe uinput
May be it needs to be added modules file:
sudo gedit /etc/modules
uinput
  • Enable thinkfinger: sudo
    /usr/lib/pam-thinkfinger/pam-thinkfinger-enable
  • Acquire finger print for user: sudo tf-tool --acquire
    pablo
Just one fingerprint supported for each user.
  • Verify acquired fingerprint: tf-tool --verify

LOGIN SUPPORT

sudo gedit /etc/pam.d/common-auth
# add:
auth sufficient pam_thinkfinger.so
auth [success=1 default=ignore] pam_unix.so try_first_pass nullok_secure
# before any pam_unix or pam_unix2 directives
# comment out:
auth[success=2 default=ignore]pam_unix.so nullok_secure

SCREENSAVER SUPPORT

  • Create group fingerprint: sudo groupadd fingerprint
  • Create file
    /etc/udev/rules.d/60-thinkfinger.rules and add the
    following:
#
# udev rules file for the thinkfinger fingerprint scanner
#
# gives access to the fingerprint reader to those in the "fingerprint" group
#
# Taken from:
# http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger
# which was taken and modified from:
# http://article.gmane.org/gmane.linux.drivers.thinkfinger/329
#

# SGS Thomson Microelectronics Fingerprint Reader
SYSFS{idVendor}=="0483", SYSFS{idProduct}=="2016", SYMLINK+="input/thinkfinger-%k", MODE="0660", GROUP="fingerprint"

# the also-needed uinput device
KERNEL=="uinput", MODE="0660", GROUP="fingerprint"
  • Activate that rule: sudo /sbin/udevadm trigger
  • Add the following lines at the end of
    /etc/pam.d/gnome-screensaver:
auth sufficient pam_thinkfinger.so
auth required pam_unix.so try_first_pass nullok_secure
  • Add user to fingerprint group: sudo gpasswd -a pablo
    fingerprint

DEFAULT KEYRING PASSWORD PROMPT AFTER LOGIN

Avoid keyring password prompt for network connection:
  • Open Network Manager
  • Edit your connection
  • Check connect automatically
  • Check Available to all users
Enhanced by Zemanta