Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] ThinkPad fingerprint reader access/user permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 216
Location: Italy

PostPosted: Tue May 08, 2018 9:02 am    Post subject: [solved] ThinkPad fingerprint reader access/user permissions Reply with quote

Hi,

I have recently installed Gentoo on a older Thinkpad (UPEK fingerstrip reader).
I cannot enroll it nor login as a normal user, I can however do it as root.
The device is thus perfectly working, but I suppose the standard user has no access. Just at the console login typing in the username will already alert that the device is not accessible.

I have another thinkpad with the same reader I set up ages ago and it "works". How is the correct setup?

I checked groups and they seem to be the same between the laptops.

What else should I check and set? perhaps something with udev and permissions?

Thanks, Riccardo
_________________
Unix is user friendly. It is only careful selecting its friends.


Last edited by multix on Fri May 11, 2018 1:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 216
Location: Italy

PostPosted: Fri May 11, 2018 1:31 pm    Post subject: Reply with quote

Some further information.

I installed fprint (libfrpint and pam_fprint according to:

https://wiki.gentoo.org/wiki/Fingerprint_Reader

where I read about installation and it cites specifically gentoo:
https://www.freedesktop.org/wiki/Software/fprint/Installation/

Add user to usbgroup, which I did! and issuing groups confirms that my user is part of it.

It is not enough. Could some udev rules be wrong/missing?
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 216
Location: Italy

PostPosted: Fri May 11, 2018 1:56 pm    Post subject: Reply with quote

I tried running pam_frpint_enroll and it actually works once logged in, so it sees the device, however:
Code:
Data save failed, code -1


This comes from here:
https://github.com/dsd/pam_fprint/blob/master/src/pam_fprint_enroll.c

and it happens because fingerprints are saved in
Code:
.fprint
directory in each home!
In my case it had root permissions a chown... fixed it!
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum