Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228919 - sys-auth/thinkfinger does not support non-root applications
Summary: sys-auth/thinkfinger does not support non-root applications
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tony Vroon (RETIRED)
URL: http://en.thinkwiki.org/wiki/How_to_e...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-22 15:59 UTC by Henning Schild
Modified: 2009-02-20 10:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Schild 2008-06-22 15:59:28 UTC
The given links describes how to get thinkfinger working for xscreensaver or respectivly non-root applications that use pam.

For me using my fingerprint to unlock the screen is a very usefull feature and i had to tweak gentoo by hand to get it running.
The ebuild could as well add the group and the udev rules. Then
 chown root:fingerprint /etc/pam_thinkfinger
 chmod 710 /etc/pam_thinkfinger

For chowning the .bir files there could be a patch to thinkfinger or some elog documentation. Patching is more an effort but chowning the files and adding users to the correct group would be a nice thing to happen automaticly, maybe something to report upstream.

Reproducible: Always

Steps to Reproduce:
1. install thinkfinger
2. configure it and add a user
3. lock the screen using xscreensaver as user
Actual Results:  
xscreensaver does not ask for fingerprint or password but only for password

Expected Results:  
xscreensaver should, as other pam-applications, accept the fingerprint as well
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2008-09-14 15:59:17 UTC
I no longer have the hardware to support ThinkFinger. This software will likely be scheduled for removal and nobody seems to care about it. Sorry.
Comment 2 Robert A. 2009-01-21 15:36:49 UTC
(In reply to comment #1)
> I no longer have the hardware to support ThinkFinger. This software will likely
> be scheduled for removal and nobody seems to care about it. Sorry.

s/nobody/gentoo devs/ 

Comment 3 Tony Vroon (RETIRED) gentoo-dev 2009-02-18 15:32:53 UTC
(In reply to comment #2)
> s/nobody/gentoo devs/ 

Some users, like Víctor Enríquez Miguel help out by testing, writing patches and offering to maintain the package through a proxy maintainer. This would be a much more productive use of your time.

Comment 4 Tony Vroon (RETIRED) gentoo-dev 2009-02-18 15:37:17 UTC
+*thinkfinger-0.3-r1 (18 Feb 2009)
+
+  18 Feb 2009; <chainsaw@gentoo.org> +files/0.3-carriagereturn.patch,
+  +files/0.3-direct_set_config_usb_hello.patch,
+  +files/0.3-tftoolgroup.patch, +files/60-thinkfinger.rules, metadata.xml,
+  +thinkfinger-0.3-r1.ebuild:
+  Due to lack of hardware I have been unable to attend to this package. I
+  will now however be proxy maintaining for Víctor Enríquez Miguel
+  <victor.quicksilver@gmail.com> , metadata updated to reflect this. Add a
+  fingerprint group so non-root users can use the software, as per the
+  suggestions by Henning Schild <henning@wh9.tu-dresden.de> in bug #228919.
+  Also add explicit chmod/chown statements to the installed script. Do not
+  apply USB configuration 1 to the device, this was never necessary and
+  broke with kernel 2.6.28 ("hello" patch). Added udev rules to make device
+  handling automatic.
Comment 5 Henning Schild 2009-02-20 09:43:56 UTC
Great. Thank you for working on that. I would still suggest to report the patch to tf-tool upstream to the thinkfinger project.
I also think that the elog in pkg_postinst should state that users should be added to the thinkfinger group.
Comment 6 Pacho Ramos gentoo-dev 2009-02-20 09:56:54 UTC
(In reply to comment #5)
> Great. Thank you for working on that. I would still suggest to report the patch
> to tf-tool upstream to the thinkfinger project.
> I also think that the elog in pkg_postinst should state that users should be
> added to the thinkfinger group.
> 

I contacted some weeks ago with thinkfinger upstream and he told me that thinkfinger is no longer developed and it has been replaced by libfprint. libfprint is being currently provided by wschlich overlay, but I haven't tried it yet because I am suffering bug 217126

Sorry for not saying this info before, but I have been too busy in the past days and forgot to do that

Best regards
Comment 7 Víctor Enríquez 2009-02-20 10:23:24 UTC
Yeah, I now upstream it's dead, but I will maintain this anyway at least until libfprint hits portage tree and it's marked stable. I will try to add that group elog message later, thanks!. 
Comment 8 Robert A. 2009-02-20 10:31:47 UTC
(In reply to comment #6)
> libfprint is being currently provided by wschlich overlay, but I haven't tried
> it yet because I am suffering bug 217126

media-libs/libfprint-9999 works with gcc-4.1.2
hth