Giter VIP home page Giter VIP logo

login-with-fprint-on-archlinux's Introduction

Lenovo Thinkpad T430

Now start.

Before installing fprint, make sure your hardware is supported, you can see the list on here.

http://www.thinkwiki.org/wiki/Integrated_Fingerprint_Reader

Wiki fprint on Arch

https://wiki.archlinux.org/index.php/fprint    

Check lsusb first, on my machines:

Screenshot

Bus 001 Device 003: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode) Screenshot

Install Fprint:

$sudo pacman -S fprintd 

imagemagick might also be needed.

Configuration:

$sudo su
#groupadd plugdev
#gpasswd -a yourusername plugdev
#chgrp -R plugdev /dev/bus/usb/

Now set your finger: For User:

$fprintd-enroll

For Su: login with su by error: su: Authentication failure

You can reset the password: sudo passwd root

After:

$su
#fprintd-enroll

You will be asked to scan the given finger. Swipe your right index finger five times. After that, the signature is created in /var/lib/fprint/.

Then now modify /etc/pam.d/...

For Login gdm/kdm:

Modify: login

$sudo vim /etc/pam.d/login

add this

 auth required pam_env.so
 auth sufficient pam_fprintd.so
 auth sufficient pam_unix.so try_first_pass likeauth nullok
 auth required pam_deny.so
 
 #auth required pam_securetty.so
 # ...

And for /su, /sudo same as above.

  $sudo vim /etc/pam.d/su
  $sudo vim /etc/pam.d/sudo  

OK. Now try fingerprint.

My login

Screenshot

Demo on Youtube

See more Demo_on_Youtube

Other config

login-with-fprint-on-archlinux's People

Contributors

duyhenryer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.