how-to Fingerprint

Created on July 10, 2008 @ 4:44, This is on Debian, GNU / Linux, how-to, ubuntu by Rafael Bucio



This is in my Dell XPS M1330 (debian & ubuntu), clear to mill a bit, well started.

We started with Debian repositories need to edit and add:

  # On debian
 deb ftp://mirrors.kernel.org/debian/ experimental main contrib non-free
 deb-src ftp://mirrors.kernel.org/debian/ experimental main contrib non-free 

After the typical update and then install:

  Bucio @ eva: ~ $ sudo aptitude update 
  Bucio @ eva: ~ $ sudo aptitude install libpam-thinkfinger libthinkfinger0 thinkfinger-tools 

Now in Ubuntu, for users of Hardy, just have to apt-get install.

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

Those who use Ubuntu gutsy repositories alos add these debs:

  http://ppa.launchpad.net/jldugger/ubuntu deb hardy main restricted universe multiverse
 deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse 

After install:

  sudo apt-get install thinkfinger-tools libpam-thinkfinger 

Let's test the reader:

  Bucio @ eva: ~ $ tf-tool - acquire 
  Bucio @ eva: ~ $ tf-tool - verify 

.

Configure PAM to use thinkfinger
The file to edit should be: / etc / pam.d / common-auth
We edit with nano or gedit

  nano-w / etc / pam.d / common-auth 

We added before the pam_unix.so module

  auth sufficient pam_thinkfinger.so 

So that should be so the file / etc / pam.d / common-auth.

  auth sufficient pam_thinkfinger.so
 auth required pam_unix.so nullok_secure try_first_pass 

We left (control + x) and save.

Now add user and root

  Bucio @ eva: ~ $ sudo tf-tool - add-user $ USERNAME
 Bucio @ eva: ~ $ sudo tf-tool - add-user root 

Now to unlock the screen using the fingerprint reader.
Being under any of these verrsiones xscreesaver (> ~ 5.03) or gnome-screensaver (> ~ 2.18.2).
created or edited if there is nothing inside this file: / etc/udev/rules.d/60-thinkfinger.rules

  Bucio @ eva: ~ $ sudo gedit / etc/udev/rules.d/60-thinkfinger.rules 

We added this:

  # 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 device uinput
 KERNEL == "uinput", MODE = "0660", GROUP = "fingerprint" 

What we run (we must reboot to take effect),

  Bucio @ eva: ~ $ sudo / sbin / udevtrigger 

Finally we edit what the screen saver : D poderdesbloquearlo but watch for finger hehe, the file is / etc / pam.d / gnome-screensaver and be well:

  auth sufficient pam_thinkfinger.so
 auth required pam_unix.so try_first_pass nullok_secure 

Adding users

  Bucio @ eva: ~ $ gpasswd-a $ USERNAME fingerprint
 Bucio @ eva: ~ $ chown $ USERNAME: root / etc / pam_thinkfinger / $ USERNAME.bir
 Bucio @ eva: ~ $ chmod 400 / etc / pam_thinkfinger / $ USERNAME.bir
 Bucio @ eva: ~ $ chmod o + x / etc / pam_thinkfinger 

That's all we can only check if the module loaded thinkiFinger:

  $ Lsmod | grep uinput 

Open the module in case you is not.

  $ Sudo modprobe uinput 

We add or check for the contents

  $ Sudo gedit / etc / modules 

which should look like this:

  # / 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 

And ready to see how we stay ;)

[+] http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger
[+]: https: / / wiki.ubuntu.com / thinkfinger

Debian-mx.com ~ debian-mexico.com | Forums: http://www.debian-mx.com/foros/

4 Comments on 'how-to Fingerprint'

Subscribe to RSS
  1. yobageM

    July 11, 2008 @ 10:28:

    hahaha nice; D remember that a year ago I bought a lap with fingerprint reader did not know if I was going to recognize in linux : o

    Reply

    Reply

    ­

  2. [...] Is in my Dell XPS M1330 (debian & ubuntu), clear to mill a bit, well [...]

    ­

  3. [...] Is in my Dell XPS M1330 (debian & ubuntu), clear to mill a bit, well [...]

    ­

  4. [...] Is in my Dell XPS M1330 (debian & ubuntu), clear to mill a bit, well [...]

    ­

Leave a comment
XHTML: You can use: <a href="" title=""> <abbr title=""> <acronym title=""> NEWS <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>