Search code examples
ubuntu-12.04sudofingerprintprintf

Library can only be accessed using SUDO - libfprint permissions


I have downloaded and installed the libfprint fingerprint API. Everything works ok but there is one snag, it will only detect my fingerprint scanner when I run applications using sudo.

This is puzzling because I have libfprint on another machine which works fine without sudo (maybe version 0.5).

Anyhow, I have no option but to develop on this current machine (Ubuntu 12.04 64bit). The problem is that I am developing an application which uses the library in Eclipse. This means I have to run Eclipse as Sudo which I am aware is a bad idea. Does anybody know how I can make the library accessible without being root? Thanks.


Solution

  • Found the solution here. Hope this helps somebody !