Hi all...<br><br>If you have/havent seen Neil Coetzers demonstrations on our <a href="http://ubuntu.org.zw">ubuntu.org.zw</a> facebook page,..ubuntu can use a onboard/usb webcam for user authentication on your desktop.<br>
<br>so when you turn on your machine, and the login prompt comes up.. instead of you having to type a password...<br>it pops up with a webcam feed.. which prompts you into moving closer to the camera...it scans your face, <br>
and if its okay... logs you in. if it doesnt log you in, it drops you into a plain old password login.<br><br>i&#39;ve been using this for the last couple of days.. and i find it to be EXTREMELY useful.. especially since im one of<br>
those people who hate being prompted for passwords everytime i want to do something that the computer deems as <br>dangerous.<br><br>installing this function can be a little complicated.. so i&#39;ve drawn up a little how-to.. that can be followed step by step.<br>
its quite easy to setup if you follow my instructions..... but you need to make sure your machine is connected to<br>the internet before trying this, as it need to download packages from the web.<br><br>i noticed that there is quite alot of downloading involved with my method... but if you connected to our local repository..<br>
it should&#39;nt be much of an issue..on a broadband connection:<br><br>righto!<br><br>basically, you will be installing opencv, and a face-pam-authentication module to get this to work.... just follow<br>everything step by step..and you should be fine...<br>
<br>run these commands within a terminal logged in as YOU.. NOT root!! (applications-&gt;accessories-&gt;terminal)<br><br>- install opencv<br>1 - sudo add-apt-repository ppa:gijzelaar/opencv2<br>2 - sudo apt-get update<br>
3 - sudo apt-get install opencv<br><br>- install documentation/dev files/python module (optional)<br>1 - sudo apt-get install libopencv-dev<br>2 - sudo apt-get install python-opencv<br>3 - sudo apt-get install opencv-doc<br>
<br>- install pam-face-authentication module prerequisites <br>1 - 


        
        
        
        sudo apt-get install build-essential cmake qt4-make libx11-dev libcv-dev libcvaux-dev libhighgui4 libhighgui-dev libqt4-dev libpam0g-dev<br><br>- install pam-face-authentication module  <br>1 - cd /tmp<br>2 - wget <a href="http://pam-face-authentication.googlecode.com/files/pam-face-authentication-03.tar.gz">http://pam-face-authentication.googlecode.com/files/pam-face-authentication-03.tar.gz</a><br>
3 - tar zxf pam-face-authentication-03.tar.gz &amp;&amp; cd pam-face-authentication-*<br>4 - mkdir build &amp;&amp; cd build<br>5 - cmake -D CMAKE_INSTALL_PREFIX=/usr ..<br>6 - make<br>7 - sudo make install<br><br>- configure pam-face<br>
1 - turn on your webcam! then in the terminal, type &quot;qt-facetrainer&quot; and press enter<br>2 - follow the trainer to make images of yourself(the more the better..and more secure it becomes)<br><br>- enable pam-face on login<br>
1 - sudo sed -i &#39;li auth sufficient pam_face_authentication.so enableX&#39; /etc/pam.d/su<br>2 - sudo sed -i &#39;li auth sufficient pam_face_authentication.so enableX&#39; /etc/pam.d/sudo<br><br>- If using GNOME (GDM)<br>
1 - sudo sed -i &#39;li auth sufficient pam_face_authentication.so enableX&#39; /etc/pam.d/gdm<br>
2 - sudo sed -i &#39;li auth sufficient pam_face_authentication.so enableX&#39; /etc/pam.d/gnome-screensaver<br><br>- If using Kubuntu (KDE)<br>1 - sudo sed -i &#39;li auth sufficient pam_face_authentication.so enableX&#39; /etc/pam.d/kde<br>

<br>finally reboot.. and enjoy this new feature!!<br><br>p.s i&#39;ve set this up on Ubuntu 10.04 desktop, and it runs perfectly with the above instructions... i havent tested this<br>on any other version. please be advised that I take no responsibility for any issues that may happen during/after <br>
you run these steps, and If you do follow the above instructions, and come across issues, please dont contact <br>me and ask for help, because i did not develop this application, rather i have just laid out the installation in an<br>
easy to understand manner. This authentication module installation is not recommended for high security systems..<br>or machines with sensitive data. you are advised to install this at your own risk!<br><br>if you are not sure if this is for you or not, please take heed.. and do not try this! :)<br>
<style type="text/css">pre.cjk { font-family: "DejaVu Sans",monospace; }p { margin-bottom: 0.</style><br>kalpesh.<br><br>