1. Download Software first go to the http://thinkfinger.sourceforge.net download tf-tool3.0file name thinkfinger-0.3.tar.gz 2. Install the gcc compiling environment sudoapt-getinstalllibtoolpkg-configlibpam0g-devlibusb-devbuild-essential3. Unzip the package tar-xz
1. Download Software
Go to http://thinkfinger.sourceforge.net to download tf-tool 3.0
File Name thinkfinger-0.3.tar.gz
2. Install the gcc compiling environment
Sudo apt-get install libtool pkg-config libpam0g-dev libusb-dev build-essential
3. decompress the Software Package
Tar-xzvf thinkfinger-0.3.tar.gz
4. Go to the working directory
Cd thinkfinger-0.3
5. Run
./Configure -- with-securedir =/lib/security -- with-birdir =/etc/pam_thinkfinger
Because the default prefix is/usr/local, if this parameter is not added, the fingerprint data will be stored in/usr/local/etc/pam_thinkfinger, while
Thinkfinger needs to put the user fingerprint data under/etc/pam_thinkfinger
6. Compile and install
Make
Sudo make install
7. Common commands
Sudo tf-tool -- acquire
Test whether fingerprint data is obtained normally.
The following error may occur:
Tf-tool: error while loading shared libraries: libthinkfinger. so.0: cannot open shared object file: No such file or directory
You can execute sudo ldconfig to solve the problem.
You need to input three test fingerprints.
Sudo tf-tool -- verify
Verify that it can be correctly identified
Sudo mkdir-p/etc/pam_thinkfinger
Create the required directory
Sudo gedit/etc/pam. d/common-auth
Modify the/etc/pam. d/common-auth document
#
#
Auth sufficient pam_thinkfinger.so
Auth required pam_unix.so try_first_pass
Sudo tf-tool -- add-user YOUR_USER_NAME
After the system is restarted, add the user name you need to call the Fingerprint Authentication Module.
This completes
Enter your username to be verified when you enter the system
Password or swipe finger will be prompted
We can change it to a Chinese prompt.
Decompress the compressed package and enter the PAM folder.
Open Pam_thinkfinger.c.
Replace Password or swipe finger with (the Chinese prompt you want to display)
For example, enter a fingerprint.
Then compile and install it.
It feels great to install it. However, it is not stable.