Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th April 2010, 05:21 AM
stevenjd13 Offline
Registered User
 
Join Date: Feb 2009
Posts: 84
linuxfirefox
Pam Face Authentication

You may or may not of heard of this project.

But I have made an RPM to install this software.

This software was developed by Rohan Anil and his project is on http://code.google.com/p/pam-face-authentication/.

This will install the module and try (still a few bugs here) and set up GDM.(Removed from FC12 onward in case program stops working)

You can find it here.

http://www.sjdsoft.hk/myyum/rpm/free...c11.x86_64.rpm

Or you can set up my repo with this

http://www.sjdsoft.hk/myyum/fedora/S...nal.noarch.rpm

and install using

yum install pam-face-authentication-gdm

or using add remove software utility.

Setup notes:

Make sure you run qt-facetrainer to set up your face.

If you can not see the camera window on login you may need to set SELinux to permissive. Any help on setting up a policy module for this program would be a great help.

Check /etc/pam.d/gdm-password
Make sure that ..

auth sufficient /lib/security/pam_face_authentication.so enableX

is before

auth substack password-auth


To set up su to use pam-face-authentication add at the top ...

auth sufficient /lib/security/pam_face_authentication.so enableX

to

/etc/pam.d/su


It also works with the screensaver but there is no preview window.

Have fun and enjoy.

Report packaging errors to me and any bugs to http://code.google.com/p/pam-face-au...on/issues/list

Steven

Last edited by stevenjd13; 6th April 2011 at 10:20 AM. Reason: Adjusted name
Reply With Quote
  #2  
Old 6th May 2010, 07:22 AM
stevenjd13 Offline
Registered User
 
Join Date: Feb 2009
Posts: 84
linuxfirefox
Re: Pam Face Authentication FC11 x86_64

Still working on setting up for F12 and F13 but in the mean time you can use this script.

http://www.sjdsoft.hk/myyum/face-setup.sh

Steven
Reply With Quote
  #3  
Old 13th May 2010, 10:36 AM
stevenjd13 Offline
Registered User
 
Join Date: Feb 2009
Posts: 84
linuxfirefox
Re: Pam Face Authentication FC11 x86_64

Stop press:

This will not work with the newer opencv I have manged to compile and create a compat library for opencv.

Download my repo to install on fc11 and f12 (F13 will be soon). (64bit only)

1. Download and install my repo here

http://www.sjdsoft.hk/myyum/fedora/S...nal.noarch.rpm

2. Through addremove programs search for "pam-face"

this will bring in opencv-compat-1.0.0.15

Now update gdm-password and su as above

Steven
Reply With Quote
  #4  
Old 2nd October 2010, 06:24 PM
acborba6 Offline
Registered User
 
Join Date: Aug 2010
Posts: 10
linuxfedorafirefox
Re: Pam Face Authentication FC11 x86_64

Fedora 13??? when? How?
Reply With Quote
  #5  
Old 13th October 2010, 12:47 AM
stevenjd13 Offline
Registered User
 
Join Date: Feb 2009
Posts: 84
linuxfedorafirefox
Re: Pam Face Authentication FC11 x86_64

Sorry for the delay, I have tested the F12 packages against F13 and all ok, today I will tfr to the f13 repo, I will rename them in due course.

Sorry.

To download manually goto http://sjdsoft.hk/myyum/rpm/free/12/x86_64/ and download and install. Then set up like above.

Steven
Reply With Quote
  #6  
Old 13th October 2010, 08:36 PM
acborba6 Offline
Registered User
 
Join Date: Aug 2010
Posts: 10
linuxfedorafirefox
Re: Pam Face Authentication FC11 x86_64

Thanks it's worked, for gdm-password but SU get this message:

Verifying Face ...
Giving Up Face Authentication. Try Again = (

Sorry my bad english..
Reply With Quote
  #7  
Old 14th October 2010, 12:32 AM
stevenjd13 Offline
Registered User
 
Join Date: Feb 2009
Posts: 84
linuxfedorafirefox
Re: Pam Face Authentication FC11 x86_64

Glad you got it working to some degree

For su can you give me some details.

1. Do you see a authentication window for your face?

2. (I know you probably have checked this already). Is the line

auth sufficient /lib/security/pam_face_authentication.so enableX

at the top of '/etc/pam.d/su'?

If both of these are correct then try the following.

1. Re-run qt-facetrainer and create another profile or two
2. Check using the advanced tab to check that your face is recognized.
3. Ensure that there is enough lighting. The program does not recognize your face properly if the lighting changes too much.

If this does not help and you think this is a bug put a ticket in http://code.google.com/p/pam-face-au...on/issues/list.

Have fun

Steven
Reply With Quote
  #8  
Old 17th November 2010, 12:21 AM
Nordic Offline
Registered User
 
Join Date: Mar 2010
Posts: 76
windows_7firefox
Re: Pam Face Authentication FC11 x86_64

Will this work on F14?
Reply With Quote
  #9  
Old 18th November 2010, 12:56 PM
stevenjd13 Offline
Registered User
 
Join Date: Feb 2009
Posts: 84
linuxfedorafirefox
Re: Pam Face Authentication FC11 x86_64

I do not see any reason why not. I have not tried still running 13.
Try the f12 packages tell if it works

Steven
Reply With Quote
  #10  
Old 18th November 2010, 07:41 PM
linkin360 Offline
Registered User
 
Join Date: Nov 2009
Posts: 2
linuxfedorafirefox
Re: Pam Face Authentication FC11 x86_64

i'm currently running pam-face-authentication in 2 laptops and a netbook (all in fedora14), i didn't use this rpm, i built it myself with the next commands:

Code:
mkdir /usr/share/pam-face-auth
cd /usr/share/pam-face-auth
wget http://dl.dropbox.com/u/2848046/pam.tar.gz
tar xvzf pam.tar.gz
rm -rf pam.tar.gz
cd pam-face-authentication-0.3
mkdir build
cd build
yum -y install  cmake cmake-gui qt-creator mingw32-qt-qmake opencv* php-facedetect pam pam-devel
cmake -D CMAKE_INSTALL_PREFIX=/usr ..
make
make install
sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/su
sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/sudo
sudo sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/gdm
sudo sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/gdm-password
sudo sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/gnome-screensaver
I'm not sure if opencv* is needed but at least one of them is, after a reboot all login, su, sudo, and unlock after suspend uses pam-face-auth
you can note that the source is downloaded from my dropbox, that's because i'm a litle paranoic and don't want to risk loosing it
Reply With Quote
  #11  
Old 12th February 2011, 07:38 PM
MyForest Offline
Registered User
 
Join Date: Feb 2011
Posts: 1
linuxfedorafirefox
Smile Re: Pam Face Authentication FC11 x86_64

Working nicely on Fedora 14 x86_64.

Downloaded from:

http://sjdsoft.hk/myyum/rpm/free/12/x86_64/

Then did:

Quote:
yum --nogpgcheck install pam-face-authentication-gdm-0.3-fc12.x86_64.rpm opencv-compat-1.0.0.15-fc12.x86_64.rpm
Followed through with the changes for PAM as described above.

When doing "su -" it's so fast I don't even see the pop-up window sometimes.
Reply With Quote
  #12  
Old 12th February 2011, 10:08 PM
kazysmaster Offline
Registered User
 
Join Date: Jun 2005
Posts: 21
linuxchrome
Re: Pam Face Authentication FC11 x86_64

hi,

I'm on 32bit arch, where I can get source rpms so I can recompile them?
thnx
Reply With Quote
  #13  
Old 26th February 2011, 01:39 AM
hjk17 Offline
Registered User
 
Join Date: Feb 2011
Posts: 1
linuxchrome
Re: Pam Face Authentication FC11 x86_64

Quote:
Originally Posted by stevenjd13 View Post
You may or may not of heard of this project.

But I have made an RPM to install this software.

This software was developed by Rohan Anil and his project is on http://code.google.com/p/pam-face-authentication/.

This will install the module and try (still a few bugs here) and set up GDM.(Removed from FC12 onward in case program stops working)

You can find it here.

http://www.sjdsoft.hk/myyum/rpm/free...c11.x86_64.rpm

Or you can set up my repo with this

http://www.sjdsoft.hk/myyum/fedora/S...nal.noarch.rpm

and install using

yum install pam-face-authentication-gdm

or using add remove software utility.

Setup notes:

Make sure you run qt-facetrainer to set up your face.

If you can not see the camera window on login you may need to set SELinux to permissive. Any help on setting up a policy module for this program would be a great help.

Check /etc/pam.d/gdm-password
Make sure that ..

auth sufficient /lib/security/pam_face_authentication.so enableX

is before

auth substack password-auth


To set up su to use pam-face-authentication add at the top ...

auth sufficient /lib/security/pam_face_authentication.so enableX

to

/etc/pam.d/su


It also works with the screensaver but there is no preview window.

Have fun and enjoy.

Report packaging errors to me and any bugs to http://code.google.com/p/pam-face-au...on/issues/list

Steven
Great tutorial !! It's working on runlevel 5 !!

I've have a question, if I start my system on runlevel 3 it does not work, how can I activate pam face authentication to work in this runlevel ?

By the way --- I've tested this on Ubuntu and it also works on text mode ... it's just that I like better Fedora !!!
Reply With Quote
  #14  
Old 14th March 2011, 05:11 AM
niveditha Offline
Registered User
 
Join Date: Mar 2011
Posts: 8
windows_vistachrome
Re: Pam Face Authentication FC11 x86_64

Hi,
i am a final year BE student. i am working on the ehci-0.6 library for tracking the the face in fedora 13 in vmware. i am able to compile the code but couldnot run the sample programs.i am facing the same program as posted by u.The error s as follows

(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element appsink1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element ffmpegcsp1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element fakesink, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element typefind, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element decodebin1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element capsfilter0, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element appsink2, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element ffmpegcsp2, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element fakesink, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element typefind, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element decodebin2, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

OpenCV Error: Unspecified error (unicap: failed to get info for device
) in CvCapture_Unicap::initDevice, file /builddir/build/BUILD/OpenCV-2.0.0/src/highgui/cvcap_unicap.cpp, line 139
terminate called after throwing an instance of 'cv::Exception'
Aborted (core dumped)



and when i tried running cd samples/simple2d. the error i am facing is "couldnot initialise tha capturing"
can u please suggest me to overcome this kind of error.
Reply With Quote
  #15  
Old 17th March 2011, 12:09 PM
niveditha Offline
Registered User
 
Join Date: Mar 2011
Posts: 8
windows_vistachrome
Re: Pam Face Authentication FC11 x86_64

Hi,
i am a final year BE student. i am working on the ehci-0.6 library for tracking the the face in fedora 13 in vmware. i am able to compile the code but couldnot run the sample programs.i am facing the same program as posted by u.The error s as follows
After I compile the program
cd ehci-0.6
./configure
make
I am able to do the above with out any errors. Later when try running samples
I am getting the below errors
cd samples
make
./simple2d

(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element appsink1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element ffmpegcsp1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.



OpenCV Error: Unspecified error (unicap: failed to get info for device
) in CvCapture_Unicap::initDevice, file /builddir/build/BUILD/OpenCV-2.0.0/src/highgui/cvcap_unicap.cpp, line 139
terminate called after throwing an instance of 'cv::Exception'
Aborted (core dumped)



and but ven tried using
./samples/simple2d
the error i am facing is "couldnot initialise tha capturing"
can u please suggest me to overcome this kind of error.
blank window opens and goes on showing the error mentioned above and ends ven given ctrl + c.
the expected output to open a window and display the capture the person present in front of the webcam and print d coordinates of the face captured


If you need further more details I can provide you regarding the project and error.
Thanking you
niveditha
Reply With Quote
Reply

Tags
face recognition, pam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot boot into 2.6.29.6-217.2.7.fc11.x86_64 Berkyjay Using Fedora 1 9th September 2009 06:16 PM
Kernel 2.6.30.5-43.fc11.x86_64 USB bug ? Milena Using Fedora 3 7th September 2009 05:38 PM
kmod-nvidia-2.6.29.6-217.2.8.fc11.x86_64-185.18.14-1.fc11.5.x86_64.rpm newiLuvatar Hardware & Laptops 3 25th August 2009 03:24 AM
kmod-nvidia-2.6.29.6-217.2.7.fc11.x86_64-185.18.14-1.fc11.5.x86_64 snakernetb Using Fedora 51 22nd August 2009 06:59 AM
FC11 / Gnome / Root Authentication problem IgorC76 Using Fedora 1 26th June 2009 02:42 AM


Current GMT-time: 11:32 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Orekhovo-Borisovo Photos - Koryazhma Photos on Instagram - Lermontov Photos on Instagram