
If '-P' in sys.argv or '-prompt' in sys.argv: If '-g' in sys.argv or '-disable-grab' in sys.argv: If '-m' in sys.argv or '-message' in sys.argv:Įxcept ValueError: i = ('-message') If '-D' in sys.argv or '-description' in sys.argv:Įxcept ValueError: i = ('-description') If '-d' in sys.argv or '-debug' in sys.argv: t_image(gtk.image_new_from_stock(gtk.STOCK_DIALOG_AUTHENTICATION, gtk.ICON_SIZE_DIALOG)) Message_format = ' Fingerprint requested ') # Simple message box asking for the fingerprint Proc = subprocess.Popen(gksu_cmd + sys.argv) # Do not handle requests just asking for a password or using suĪrg_skip =

# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # along with this program if not, write to the Free Software # You should have received a copy of the GNU General Public License # GNU General Public License for more details. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # but WITHOUT ANY WARRANTY without even the implied warranty of # This program is distributed in the hope that it will be useful, # the Free Software Foundation either version 2 of the License, or # it under the terms of the GNU General Public License as published by # This program is free software you can redistribute it and/or modify # gksu wrapper, supporting fprint - v 0.2 Sudo apt-get install python-gnome2-extras python-pexpect

# Fingerprint + passwordįor programs using gksudo/gksu, copy the wrapper gksu.py below to /usr/local/bin/gksu add fingerprint support and enter the following code sudo mv. Or, use these options if you want to require the fingerprint and the password. gksu gedit /etc/pam.d/common-authĪdd this at the top of the file (do it multiple times for however many attempts you want to allow) # Fingerprint only Next, configure PAM so that the fingerprint reader can be useful. Next, enroll your fingers using either the terminal or a graphical user interface. Install fprint sudo apt-get install fprint-demo libfprint-dev libfprint0 libpam-fprint aes2501-wy You may need to debug the gksu.py wrapper script I have not used it personally, but it was the most up to date tutorial for Ubuntu I could find. The rest of this post was transcribed from This post on the Ubuntu Forums.

Second, please understand that logging in via fingerprint identification, AKIK, is sometimes unreliable.įprint is not entirely stable, and may not work all the time.

First, check the compatibility of your hardware.
