lucasfporto / pam-face-authentication

Automatically exported from code.google.com/p/pam-face-authentication
0 stars 0 forks source link

Recognition works but don't get authenticated. #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Built and installed according to instructions
2. Trained it using provider qt-facetrainer application, verified that 
recognition worked
3. Altered my /etc/pam.d/su and sudo (added the statement 'auth sufficent 
pam_face_authentication.so enableX' to them).

What is the expected output? What do you see instead?
When I try to sudo the following happens:
kristoffer@bastet:~$ sudo vim /etc/pam.d/su
Face Verification Pluggable Authentication Module Started
Verifying Face ... [Verification screen pops up and does its thing]
Verification successful.
[sudo] password for kristoffer: [I wonder why I need to do this, but I enter 
the correct password here]
Sorry, try again.
Face Verification Pluggable Authentication Module Started
Floating point exception
[prompt comes back]

What version of the product are you using? On what operating system?
0.3 on Ubuntu 10.04

Please provide any additional information below.

Original issue reported on code.google.com by anderg...@gmail.com on 28 Sep 2010 at 1:52

GoogleCodeExporter commented 8 years ago
The behaviour is correct that the plugin is executed again when the password 
login has failed.

The problem indeed is that you are asked for a password although the login has 
succeded. I would recommend you one other try-out:
Have a look at 
http://pam-face-authentication.org/wiki/index.php?title=Installation#.28K.29Ubun
tu
and scroll down where it says "Option B". Priorly to this you have to remove 
the entries in /etc/pam.d/su and /etc/pam.d/sudo of course...

Original comment by feichtne...@gmail.com on 28 Sep 2010 at 3:45

GoogleCodeExporter commented 8 years ago
Thanks for your reply. However, I am 100% sure that I entered the correct 
password, also, the floating point error is what bothers me.

I rebooted off a rescue CD and removed face auth from the pam.d-files. The wiki 
link with instructions looks very much like the instructions I followed when 
building and installing pam-face-authentication. 

Original comment by anderg...@gmail.com on 28 Sep 2010 at 3:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I want to update my state here.

After compiling both OpenCV-2.3.1 and pam-face-authenticate with GCC 4.7.1, it 
works now for sudo.

But somehow kdm plugin doesn't work as still, I am trying to make it dump some 
message to trace.

Original comment by sbbg...@gmail.com on 17 Jul 2012 at 2:18