<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tkilla</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tkilla"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Tkilla"/>
	<updated>2026-04-18T22:29:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11299</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11299"/>
		<updated>2005-10-28T23:50:24Z</updated>

		<summary type="html">&lt;p&gt;Tkilla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This is how I got the fingerprint reader on my T43 to work. It can _NOT_ yet be used to log me into the system. Working on that.&lt;br /&gt;
&lt;br /&gt;
This is on {{Ubuntu}} Breezy.&lt;br /&gt;
&lt;br /&gt;
The same works on Fedora Core 4.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic driver installation==&lt;br /&gt;
===Getting required libs and tools===&lt;br /&gt;
====Installing the bioapi source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0beta2.zip}} from http://www.qrivy.net/~michael/blua/upek-bsp.html and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:{{cmdroot|chmod 777 -R /usr/local/var/bioapi/}}&lt;br /&gt;
:Actually this depends on where you installed, if you did as suggested, it should work. Otherwise you probably know what you're doing anyways. :)&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chmod 666 /var/log/BSP.log}}&lt;br /&gt;
:{{cmdroot|chmod -R a+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod 666 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0483:2016&amp;quot; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -e &amp;quot;s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/&amp;quot;`}}&lt;br /&gt;
:It might be nessecary to put the above line into a startup script somewhere.&lt;br /&gt;
&lt;br /&gt;
===Testing the driver===&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0beta2.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:{{cmdroot|chmod +x Sample}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
If it doesn't work, ask for help at: t43fingerprint (at) badcode.de&lt;br /&gt;
&lt;br /&gt;
==GDM Login via pam_bioapi==&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. &lt;br /&gt;
The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with, gdm will probably break for any login name that has no .bir file.&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-}}&lt;br /&gt;
:It should print something like&lt;br /&gt;
:{{cmdresult|&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;5550454b2054464d2f45535320425350&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi1.10/pam/`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} you can modify {{path|/etc/pam.d/common-auth}} (on Gentoo and Fedora it is file {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
With this modification pam immediatelly starts to use the fingerprint reader to do local authorization (e.g. sudo/gdm use the fingerprint reader).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
Now gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
&lt;br /&gt;
On Fedora, I had to add {{path|/usr/local/lib}} to my LD_LIBRARY path so that the libraries referenced from pam_bioapi.so get picked up properly.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
The patch should apply with some offset, don't mind that.&lt;br /&gt;
If it says something about rejected though, then there's a problem.&lt;br /&gt;
&lt;br /&gt;
This patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&lt;br /&gt;
and then install as root with&lt;br /&gt;
:{{cmdroot|make install}} .&lt;br /&gt;
Make sure that the newly compiled xscreensaver is used&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
In case it doesn't, try &lt;br /&gt;
:{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&lt;br /&gt;
and retry.&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}}&lt;br /&gt;
kills your running instance of xscreensaver.&lt;br /&gt;
Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
now look at {{path|/etc/pam.d/xscreensaver}}.&lt;br /&gt;
If you're on {{Ubuntu}} Breezy and you have already changed {{path|/etc/pam.d/common-auth}} you should be good to go.&lt;br /&gt;
Otherwise check that the following line is at the top of the file:&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam&lt;br /&gt;
start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&lt;br /&gt;
There should be a splash screen with version 4.23.&lt;br /&gt;
&lt;br /&gt;
Now try with:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;/div&gt;</summary>
		<author><name>Tkilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11291</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11291"/>
		<updated>2005-10-28T23:39:00Z</updated>

		<summary type="html">&lt;p&gt;Tkilla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This is how I got the fingerprint reader on my T43 to work. It can _NOT_ yet be used to log me into the system. Working on that.&lt;br /&gt;
&lt;br /&gt;
This is on {{Ubuntu}} Breezy.&lt;br /&gt;
&lt;br /&gt;
The same works more or less on Fedora Core 4. PAM integration does not work yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic driver installation==&lt;br /&gt;
===Getting required libs and tools===&lt;br /&gt;
====Installing the bioapi source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0beta2.zip}} from http://www.qrivy.net/~michael/blua/upek-bsp.html and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:{{cmdroot|chmod 777 -R /usr/local/var/bioapi/}}&lt;br /&gt;
:Actually this depends on where you installed, if you did as suggested, it should work. Otherwise you probably know what you're doing anyways. :)&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chmod 666 /var/log/BSP.log}}&lt;br /&gt;
:{{cmdroot|chmod -R a+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod 666 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0483:2016&amp;quot; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -e &amp;quot;s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/&amp;quot;`}}&lt;br /&gt;
:It might be nessecary to put the above line into a startup script somewhere.&lt;br /&gt;
&lt;br /&gt;
===Testing the driver===&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0beta2.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:{{cmdroot|chmod +x Sample}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
If it doesn't work, ask for help at: t43fingerprint (at) badcode.de&lt;br /&gt;
&lt;br /&gt;
==GDM Login via pam_bioapi==&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. &lt;br /&gt;
The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with, gdm will probably break for any login name that has no .bir file.&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-}}&lt;br /&gt;
:It should print something like&lt;br /&gt;
:{{cmdresult|&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;5550454b2054464d2f45535320425350&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi1.10/pam/`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} you can modify {{path|/etc/pam.d/common-auth}} (on Gentoo and Fedora it is file {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
With this modification pam immediatelly starts to use the fingerprint reader to do local authorization (e.g. sudo/gdm use the fingerprint reader).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
Now gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
&lt;br /&gt;
On Fedora, I had to add {{path|/usr/local/lib}} to my LD_LIBRARY path so that the libraries referenced from pam_bioapi.so get picked up properly.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
The patch should apply with some offset, don't mind that.&lt;br /&gt;
If it says something about rejected though, then there's a problem.&lt;br /&gt;
&lt;br /&gt;
This patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&lt;br /&gt;
and then install as root with&lt;br /&gt;
:{{cmdroot|make install}} .&lt;br /&gt;
Make sure that the newly compiled xscreensaver is used&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
In case it doesn't, try &lt;br /&gt;
:{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&lt;br /&gt;
and retry.&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}}&lt;br /&gt;
kills your running instance of xscreensaver.&lt;br /&gt;
Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
now look at {{path|/etc/pam.d/xscreensaver}}.&lt;br /&gt;
If you're on {{Ubuntu}} Breezy and you have already changed {{path|/etc/pam.d/common-auth}} you should be good to go.&lt;br /&gt;
Otherwise check that the following line is at the top of the file:&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam&lt;br /&gt;
start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&lt;br /&gt;
There should be a splash screen with version 4.23.&lt;br /&gt;
&lt;br /&gt;
Now try with:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;/div&gt;</summary>
		<author><name>Tkilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11290</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11290"/>
		<updated>2005-10-28T23:33:39Z</updated>

		<summary type="html">&lt;p&gt;Tkilla: /* Installing pam_bioapi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This is how I got the fingerprint reader on my T43 to work. It can _NOT_ yet be used to log me into the system. Working on that.&lt;br /&gt;
&lt;br /&gt;
This is on {{Ubuntu}} Breezy.&lt;br /&gt;
&lt;br /&gt;
The same works more or less on Fedora Core 4. PAM integration does not work yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic driver installation==&lt;br /&gt;
===Getting required libs and tools===&lt;br /&gt;
====Installing the bioapi source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0beta2.zip}} from http://www.qrivy.net/~michael/blua/upek-bsp.html and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:{{cmdroot|chmod 777 -R /usr/local/var/bioapi/}}&lt;br /&gt;
:Actually this depends on where you installed, if you did as suggested, it should work. Otherwise you probably know what you're doing anyways. :)&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chmod 666 /var/log/BSP.log}}&lt;br /&gt;
:{{cmdroot|chmod -R a+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod 666 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0483:2016&amp;quot; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -e &amp;quot;s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/&amp;quot;`}}&lt;br /&gt;
:It might be nessecary to put the above line into a startup script somewhere.&lt;br /&gt;
&lt;br /&gt;
===Testing the driver===&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0beta2.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:{{cmdroot|chmod +x Sample}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
If it doesn't work, ask for help at: t43fingerprint (at) badcode.de&lt;br /&gt;
&lt;br /&gt;
==GDM Login via pam_bioapi==&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. &lt;br /&gt;
The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with, gdm will probably break for any login name that has no .bir file.&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-}}&lt;br /&gt;
:It should print something like&lt;br /&gt;
:{{cmdresult|&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;5550454b2054464d2f45535320425350&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi1.10/pam/`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} you can modify {{path|/etc/pam.d/common-auth}} (on Gentoo and Fedora it is file {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
With this modification pam immediatelly starts to use the fingerprint reader to do local authorization (e.g. sudo/gdm use the fingerprint reader).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
Now gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
&lt;br /&gt;
On Fedora, I had to add {{path|/usr/local/lib}} to my LD_LIBRARY path so that the libraries referenced from pam_bioapi.so get picked up properly.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
The patch should apply with some offset, don't mind that.&lt;br /&gt;
If it says something about rejected though, then there's a problem.&lt;br /&gt;
&lt;br /&gt;
This patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&lt;br /&gt;
and then install as root with&lt;br /&gt;
:{{cmdroot|make install}} .&lt;br /&gt;
Make sure that the newly compiled xscreensaver is used&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
In case it doesn't, try &lt;br /&gt;
:{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&lt;br /&gt;
and retry.&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}}&lt;br /&gt;
kills your running instance of xscreensaver.&lt;br /&gt;
Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
now look at {{path|/etc/pam.d/xscreensaver}}.&lt;br /&gt;
If you're on {{Ubuntu}} Breezy and you have already changed {{path|/etc/pam.d/common-auth}} you should be good to go.&lt;br /&gt;
Otherwise check that the following line is at the top of the file:&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam&lt;br /&gt;
start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&lt;br /&gt;
There should be a splash screen with version 4.23.&lt;br /&gt;
&lt;br /&gt;
Now try with:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;/div&gt;</summary>
		<author><name>Tkilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11289</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11289"/>
		<updated>2005-10-28T23:32:22Z</updated>

		<summary type="html">&lt;p&gt;Tkilla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This is how I got the fingerprint reader on my T43 to work. It can _NOT_ yet be used to log me into the system. Working on that.&lt;br /&gt;
&lt;br /&gt;
This is on {{Ubuntu}} Breezy.&lt;br /&gt;
&lt;br /&gt;
The same works more or less on Fedora Core 4. PAM integration does not work yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic driver installation==&lt;br /&gt;
===Getting required libs and tools===&lt;br /&gt;
====Installing the bioapi source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0beta2.zip}} from http://www.qrivy.net/~michael/blua/upek-bsp.html and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:{{cmdroot|chmod 777 -R /usr/local/var/bioapi/}}&lt;br /&gt;
:Actually this depends on where you installed, if you did as suggested, it should work. Otherwise you probably know what you're doing anyways. :)&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chmod 666 /var/log/BSP.log}}&lt;br /&gt;
:{{cmdroot|chmod -R a+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod 666 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0483:2016&amp;quot; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -e &amp;quot;s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/&amp;quot;`}}&lt;br /&gt;
:It might be nessecary to put the above line into a startup script somewhere.&lt;br /&gt;
&lt;br /&gt;
===Testing the driver===&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0beta2.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:{{cmdroot|chmod +x Sample}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
If it doesn't work, ask for help at: t43fingerprint (at) badcode.de&lt;br /&gt;
&lt;br /&gt;
==GDM Login via pam_bioapi==&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. &lt;br /&gt;
The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
{{NOTE|On Fedora, configure would not complete due to a missing bioapi_util.h. I solved that by copying bioapi_util.h and installdefs.h from the above bioapi installation to /usr/local/include. Then there was a missing cssmtype.h file which I grabbed from http://sourceforge.net/projects/cdsa/.}}&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with, gdm will probably break for any login name that has no .bir file.&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-}}&lt;br /&gt;
:It should print something like&lt;br /&gt;
:{{cmdresult|&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;5550454b2054464d2f45535320425350&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi1.10/pam/`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} you can modify {{path|/etc/pam.d/common-auth}} (on Gentoo and Fedora it is file {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
With this modification pam immediatelly starts to use the fingerprint reader to do local authorization (e.g. sudo/gdm use the fingerprint reader).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
Now gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
&lt;br /&gt;
On Fedora, I had to add {{path|/usr/local/lib}} to my LD_LIBRARY path so that the libraries referenced from pam_bioapi.so get picked up properly.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
The patch should apply with some offset, don't mind that.&lt;br /&gt;
If it says something about rejected though, then there's a problem.&lt;br /&gt;
&lt;br /&gt;
This patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&lt;br /&gt;
and then install as root with&lt;br /&gt;
:{{cmdroot|make install}} .&lt;br /&gt;
Make sure that the newly compiled xscreensaver is used&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
In case it doesn't, try &lt;br /&gt;
:{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&lt;br /&gt;
and retry.&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}}&lt;br /&gt;
kills your running instance of xscreensaver.&lt;br /&gt;
Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
now look at {{path|/etc/pam.d/xscreensaver}}.&lt;br /&gt;
If you're on {{Ubuntu}} Breezy and you have already changed {{path|/etc/pam.d/common-auth}} you should be good to go.&lt;br /&gt;
Otherwise check that the following line is at the top of the file:&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam&lt;br /&gt;
start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&lt;br /&gt;
There should be a splash screen with version 4.23.&lt;br /&gt;
&lt;br /&gt;
Now try with:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;/div&gt;</summary>
		<author><name>Tkilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11288</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11288"/>
		<updated>2005-10-28T23:28:06Z</updated>

		<summary type="html">&lt;p&gt;Tkilla: /* Installing pam_bioapi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This is how I got the fingerprint reader on my T43 to work. It can _NOT_ yet be used to log me into the system. Working on that.&lt;br /&gt;
&lt;br /&gt;
This is on {{Ubuntu}} Breezy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic driver installation==&lt;br /&gt;
===Getting required libs and tools===&lt;br /&gt;
====Installing the bioapi source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0beta2.zip}} from http://www.qrivy.net/~michael/blua/upek-bsp.html and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:{{cmdroot|chmod 777 -R /usr/local/var/bioapi/}}&lt;br /&gt;
:Actually this depends on where you installed, if you did as suggested, it should work. Otherwise you probably know what you're doing anyways. :)&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chmod 666 /var/log/BSP.log}}&lt;br /&gt;
:{{cmdroot|chmod -R a+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod 666 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0483:2016&amp;quot; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -e &amp;quot;s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/&amp;quot;`}}&lt;br /&gt;
:It might be nessecary to put the above line into a startup script somewhere.&lt;br /&gt;
&lt;br /&gt;
===Testing the driver===&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0beta2.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:{{cmdroot|chmod +x Sample}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
If it doesn't work, ask for help at: t43fingerprint (at) badcode.de&lt;br /&gt;
&lt;br /&gt;
==GDM Login via pam_bioapi==&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. &lt;br /&gt;
The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
{{NOTE|On Fedora, configure would not complete due to a missing bioapi_util.h. I solved that by copying bioapi_util.h and installdefs.h from the above bioapi installation to /usr/local/include. Then there was a missing cssmtype.h file which I grabbed from http://sourceforge.net/projects/cdsa/.}}&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with, gdm will probably break for any login name that has no .bir file.&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-}}&lt;br /&gt;
:It should print something like&lt;br /&gt;
:{{cmdresult|&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;5550454b2054464d2f45535320425350&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi1.10/pam/`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} you can modify {{path|/etc/pam.d/common-auth}} (on Gentoo and Fedora it is file {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
With this modification pam immediatelly starts to use the fingerprint reader to do local authorization (e.g. sudo/gdm use the fingerprint reader).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
Now gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
&lt;br /&gt;
On Fedora, I had to add {{path|/usr/local/lib}} to my LD_LIBRARY path so that the libraries referenced from pam_bioapi.so get picked up properly.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
The patch should apply with some offset, don't mind that.&lt;br /&gt;
If it says something about rejected though, then there's a problem.&lt;br /&gt;
&lt;br /&gt;
This patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&lt;br /&gt;
and then install as root with&lt;br /&gt;
:{{cmdroot|make install}} .&lt;br /&gt;
Make sure that the newly compiled xscreensaver is used&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
In case it doesn't, try &lt;br /&gt;
:{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&lt;br /&gt;
and retry.&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}}&lt;br /&gt;
kills your running instance of xscreensaver.&lt;br /&gt;
Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
now look at {{path|/etc/pam.d/xscreensaver}}.&lt;br /&gt;
If you're on {{Ubuntu}} Breezy and you have already changed {{path|/etc/pam.d/common-auth}} you should be good to go.&lt;br /&gt;
Otherwise check that the following line is at the top of the file:&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam&lt;br /&gt;
start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&lt;br /&gt;
There should be a splash screen with version 4.23.&lt;br /&gt;
&lt;br /&gt;
Now try with:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;/div&gt;</summary>
		<author><name>Tkilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11287</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11287"/>
		<updated>2005-10-28T23:10:00Z</updated>

		<summary type="html">&lt;p&gt;Tkilla: /* Configuring pam */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This is how I got the fingerprint reader on my T43 to work. It can _NOT_ yet be used to log me into the system. Working on that.&lt;br /&gt;
&lt;br /&gt;
This is on {{Ubuntu}} Breezy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic driver installation==&lt;br /&gt;
===Getting required libs and tools===&lt;br /&gt;
====Installing the bioapi source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0beta2.zip}} from http://www.qrivy.net/~michael/blua/upek-bsp.html and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:{{cmdroot|chmod 777 -R /usr/local/var/bioapi/}}&lt;br /&gt;
:Actually this depends on where you installed, if you did as suggested, it should work. Otherwise you probably know what you're doing anyways. :)&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chmod 666 /var/log/BSP.log}}&lt;br /&gt;
:{{cmdroot|chmod -R a+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod 666 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0483:2016&amp;quot; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -e &amp;quot;s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/&amp;quot;`}}&lt;br /&gt;
:It might be nessecary to put the above line into a startup script somewhere.&lt;br /&gt;
&lt;br /&gt;
===Testing the driver===&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0beta2.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:{{cmdroot|chmod +x Sample}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
If it doesn't work, ask for help at: t43fingerprint (at) badcode.de&lt;br /&gt;
&lt;br /&gt;
==GDM Login via pam_bioapi==&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. &lt;br /&gt;
The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with, gdm will probably break for any login name that has no .bir file.&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-}}&lt;br /&gt;
:It should print something like&lt;br /&gt;
:{{cmdresult|&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;5550454b2054464d2f45535320425350&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi1.10/pam/`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} you can modify {{path|/etc/pam.d/common-auth}} (on Gentoo and Fedora it is file {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
With this modification pam immediatelly starts to use the fingerprint reader to do local authorization (e.g. sudo/gdm use the fingerprint reader).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
Now gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
&lt;br /&gt;
On Fedora, I had to add {{path|/usr/local/lib}} to my LD_LIBRARY path so that the libraries referenced from pam_bioapi.so get picked up properly.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
The patch should apply with some offset, don't mind that.&lt;br /&gt;
If it says something about rejected though, then there's a problem.&lt;br /&gt;
&lt;br /&gt;
This patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&lt;br /&gt;
and then install as root with&lt;br /&gt;
:{{cmdroot|make install}} .&lt;br /&gt;
Make sure that the newly compiled xscreensaver is used&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
In case it doesn't, try &lt;br /&gt;
:{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&lt;br /&gt;
and retry.&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}}&lt;br /&gt;
kills your running instance of xscreensaver.&lt;br /&gt;
Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
now look at {{path|/etc/pam.d/xscreensaver}}.&lt;br /&gt;
If you're on {{Ubuntu}} Breezy and you have already changed {{path|/etc/pam.d/common-auth}} you should be good to go.&lt;br /&gt;
Otherwise check that the following line is at the top of the file:&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam&lt;br /&gt;
start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&lt;br /&gt;
There should be a splash screen with version 4.23.&lt;br /&gt;
&lt;br /&gt;
Now try with:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;/div&gt;</summary>
		<author><name>Tkilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11286</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11286"/>
		<updated>2005-10-28T23:06:52Z</updated>

		<summary type="html">&lt;p&gt;Tkilla: /* Installing pam_bioapi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This is how I got the fingerprint reader on my T43 to work. It can _NOT_ yet be used to log me into the system. Working on that.&lt;br /&gt;
&lt;br /&gt;
This is on {{Ubuntu}} Breezy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic driver installation==&lt;br /&gt;
===Getting required libs and tools===&lt;br /&gt;
====Installing the bioapi source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0beta2.zip}} from http://www.qrivy.net/~michael/blua/upek-bsp.html and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:{{cmdroot|chmod 777 -R /usr/local/var/bioapi/}}&lt;br /&gt;
:Actually this depends on where you installed, if you did as suggested, it should work. Otherwise you probably know what you're doing anyways. :)&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chmod 666 /var/log/BSP.log}}&lt;br /&gt;
:{{cmdroot|chmod -R a+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod 666 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0483:2016&amp;quot; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -e &amp;quot;s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/&amp;quot;`}}&lt;br /&gt;
:It might be nessecary to put the above line into a startup script somewhere.&lt;br /&gt;
&lt;br /&gt;
===Testing the driver===&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0beta2.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:{{cmdroot|chmod +x Sample}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
If it doesn't work, ask for help at: t43fingerprint (at) badcode.de&lt;br /&gt;
&lt;br /&gt;
==GDM Login via pam_bioapi==&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. &lt;br /&gt;
The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with, gdm will probably break for any login name that has no .bir file.&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-}}&lt;br /&gt;
:It should print something like&lt;br /&gt;
:{{cmdresult|&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;5550454b2054464d2f45535320425350&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi1.10/pam/`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} you can modify {{path|/etc/pam.d/common-auth}} (on Gentoo and Fedora it is file {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
With this modification pam immediatelly starts to use the fingerprint reader to do local authorization (e.g. sudo/gdm use the fingerprint reader).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
Now gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
The patch should apply with some offset, don't mind that.&lt;br /&gt;
If it says something about rejected though, then there's a problem.&lt;br /&gt;
&lt;br /&gt;
This patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&lt;br /&gt;
and then install as root with&lt;br /&gt;
:{{cmdroot|make install}} .&lt;br /&gt;
Make sure that the newly compiled xscreensaver is used&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
In case it doesn't, try &lt;br /&gt;
:{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&lt;br /&gt;
and retry.&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}}&lt;br /&gt;
kills your running instance of xscreensaver.&lt;br /&gt;
Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
now look at {{path|/etc/pam.d/xscreensaver}}.&lt;br /&gt;
If you're on {{Ubuntu}} Breezy and you have already changed {{path|/etc/pam.d/common-auth}} you should be good to go.&lt;br /&gt;
Otherwise check that the following line is at the top of the file:&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam&lt;br /&gt;
start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&lt;br /&gt;
There should be a splash screen with version 4.23.&lt;br /&gt;
&lt;br /&gt;
Now try with:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;/div&gt;</summary>
		<author><name>Tkilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11285</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=11285"/>
		<updated>2005-10-28T23:06:01Z</updated>

		<summary type="html">&lt;p&gt;Tkilla: /* Make xscreensaver use the scanner */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This is how I got the fingerprint reader on my T43 to work. It can _NOT_ yet be used to log me into the system. Working on that.&lt;br /&gt;
&lt;br /&gt;
This is on {{Ubuntu}} Breezy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic driver installation==&lt;br /&gt;
===Getting required libs and tools===&lt;br /&gt;
====Installing the bioapi source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-1.2.2.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0beta2.zip}} from http://www.qrivy.net/~michael/blua/upek-bsp.html and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:{{cmdroot|chmod 777 -R /usr/local/var/bioapi/}}&lt;br /&gt;
:Actually this depends on where you installed, if you did as suggested, it should work. Otherwise you probably know what you're doing anyways. :)&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chmod 666 /var/log/BSP.log}}&lt;br /&gt;
:{{cmdroot|chmod -R a+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod 666 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0483:2016&amp;quot; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -e &amp;quot;s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/&amp;quot;`}}&lt;br /&gt;
:It might be nessecary to put the above line into a startup script somewhere.&lt;br /&gt;
&lt;br /&gt;
===Testing the driver===&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0beta2.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:{{cmdroot|chmod +x Sample}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
If it doesn't work, ask for help at: t43fingerprint (at) badcode.de&lt;br /&gt;
&lt;br /&gt;
==GDM Login via pam_bioapi==&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-0.2.1.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. &lt;br /&gt;
The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with, gdm will probably break for any login name that has no .bir file.&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-}}&lt;br /&gt;
:It should print something like&lt;br /&gt;
:{{cmdresult|&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;5550454b2054464d2f45535320425350&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi1.10/pam`BioAPITest &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep -A2 Fingerprint &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; tail -n1 &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -b 12-`}}&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} you can modify {{path|/etc/pam.d/common-auth}} (on Gentoo and Fedora it is file {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam/&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
With this modification pam immediatelly starts to use the fingerprint reader to do local authorization (e.g. sudo/gdm use the fingerprint reader).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
Now gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
The patch should apply with some offset, don't mind that.&lt;br /&gt;
If it says something about rejected though, then there's a problem.&lt;br /&gt;
&lt;br /&gt;
This patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&lt;br /&gt;
and then install as root with&lt;br /&gt;
:{{cmdroot|make install}} .&lt;br /&gt;
Make sure that the newly compiled xscreensaver is used&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
In case it doesn't, try &lt;br /&gt;
:{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&lt;br /&gt;
and retry.&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}}&lt;br /&gt;
kills your running instance of xscreensaver.&lt;br /&gt;
Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
now look at {{path|/etc/pam.d/xscreensaver}}.&lt;br /&gt;
If you're on {{Ubuntu}} Breezy and you have already changed {{path|/etc/pam.d/common-auth}} you should be good to go.&lt;br /&gt;
Otherwise check that the following line is at the top of the file:&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b2054464d2f45535320425350} /etc/bioapi1.10/pam&lt;br /&gt;
start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&lt;br /&gt;
There should be a splash screen with version 4.23.&lt;br /&gt;
&lt;br /&gt;
Now try with:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;/div&gt;</summary>
		<author><name>Tkilla</name></author>
		
	</entry>
</feed>