<?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=Goocio</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=Goocio"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Goocio"/>
	<updated>2026-05-26T05:50:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Script_for_enabling_the_fingerprint_reader_with_BioAPI&amp;diff=30999</id>
		<title>Script for enabling the fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Script_for_enabling_the_fingerprint_reader_with_BioAPI&amp;diff=30999"/>
		<updated>2007-07-06T11:09:37Z</updated>

		<summary type="html">&lt;p&gt;Goocio: /* Ideas for improvement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using the [[Integrated Fingerprint Reader|integrated fingerprint reader]] under Linux is currently a fairly complicated [[How to enable the fingerprint reader|process]]. The following script automates the installation of the fingerprint software, for some Linux distributions. It covers most components (bioapi framework, driver, pam_bioapi, PAM setup, USB device permissions pamtester and enrolling), and handles all the downloading, patching and installation.&lt;br /&gt;
&lt;br /&gt;
Usage: just copy into a file and run as root.&lt;br /&gt;
&lt;br /&gt;
After installation, all PAM-enabled system functions will use the fingerprint reader (and if it fails, default to the usual password entry). This includes:&lt;br /&gt;
* KDE's KDM login (enter an empty password, then swipe finger)&lt;br /&gt;
* KDE's screensaver (enter an empty password, then swipe finger)&lt;br /&gt;
* Gnome's GDM login&lt;br /&gt;
* &amp;lt;tt&amp;gt;su&amp;lt;/tt&amp;gt; &lt;br /&gt;
* &amp;lt;tt&amp;gt;sudo&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Everything is intalled into {{path|/opt/bioapi}}, so it doesn't pollute your filesystem. The only effects outside {{path|/opt/bioapi}} are one-line changes to the ldconfig configuration, PAM configuration and {{path|/etc/rc.local}}, and a few symlinks in {{path|/lib/security}}.&lt;br /&gt;
&lt;br /&gt;
For details, manual installation and hints for other distributions, see [[How to enable the fingerprint reader]].&lt;br /&gt;
&lt;br /&gt;
===Distributions supported by this script===&lt;br /&gt;
* {{Fedora}} 4, 5, 6&lt;br /&gt;
* Red Hat Enterprise Linux 4&lt;br /&gt;
&lt;br /&gt;
If you add support for additional distributions, please update this script (using conditionals where necessary) instead of branching it.&lt;br /&gt;
&lt;br /&gt;
==The script==&lt;br /&gt;
{{CodeRef|enable-fingerprint-reader}}&lt;br /&gt;
&lt;br /&gt;
==Ideas for improvement==&lt;br /&gt;
* Support more distributions&lt;br /&gt;
* Minimize changes to {{path|/etc/pam.d/system-auth}} by creating a separate file (e.g., {{path|/etc/pam.d/bioapi-auth}}) and &amp;lt;tt&amp;gt;@include&amp;lt;/tt&amp;gt;-ing it.&lt;br /&gt;
* Do something about {{path|/etc/pam.d/sshd}} - it invokes {{path|/etc/pam.d/system-auth}} by stacking, so remote SSH logins now invoke the fingerprint reader... See related discussion in [[How_to_enable_the_fingerprint_reader]].&lt;br /&gt;
* Install and configure a patched xscreensaver (as explained in [[How_to_enable_the_fingerprint_reader]]).&lt;br /&gt;
* Add &amp;quot;&amp;lt;tt&amp;gt;OnResume 10 /opt/bioapi/bin/set_fingerprint_perms&amp;lt;/tt&amp;gt;&amp;quot; to [[Software Suspend 2|suspend2]]'s {{path|/etc/hibernate/hibernate.conf}}?&lt;br /&gt;
&lt;br /&gt;
* The script ends with:&lt;br /&gt;
+ wget -N http://badcode.de/downloads/fingerprint.patch&lt;br /&gt;
--13:03:23--  http://badcode.de/downloads/fingerprint.patch&lt;br /&gt;
           =&amp;gt; `fingerprint.patch'&lt;br /&gt;
Connecting to XXX.XXX.XXX.XXX:80... connected.&lt;br /&gt;
Proxy request sent, awaiting response... 401 Authorization Required&lt;br /&gt;
Authorization failed.&lt;br /&gt;
&lt;br /&gt;
(proxy don't need authorization)&lt;br /&gt;
the file is under authorization &lt;br /&gt;
&lt;br /&gt;
[[Category:Scripts]]&lt;/div&gt;</summary>
		<author><name>Goocio</name></author>
		
	</entry>
</feed>