ok, to po kolei, co nalezy zrobic (dla thinkfinger 0.3, ktore u mnie (Dell XPS m1330) dziala swietnie):
1. otwieramy konsole i sprawdzamy, czy mamy modul "uinput"
2. jesli jest to super, natomiast jesli nie ma to go dodajemy do /etc/modules
-otrzymamy cos takiego:
Kod: Zaznacz cały
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
fuse
lp
sbp2
musimy na koncu dopisac uinput
3. ok, to mamy zrobione, ze
strony pobieramy thinkfinger 0.3 (zrodlo)
4.instalujemy niezbedne pakiety (ciagle w konsoli)
Kod: Zaznacz cały
sudo apt-get install build-essential libtool libusb-dev libpam0g-dev pkg-config
5.tworzymy katalog, w ktorym przechowywane beda odciski
6. kompilacja+instalacja (z konsoli, w katalogu, do ktorego rozpakowalismy pliki zrodlowe thinkfingera; trzy oddzielne komendy)
Kod: Zaznacz cały
./configure --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger
make
sudo make install
7.testujemy
ta komenda odczyta nasz odcisk trzykrotnie (tj. trzy_poprawne_skany, moze nam kazac machac palcem wiecej razy)
to porowna kolejny odcisk z tymi poprzednimi i powie nam, czy sa identyczne
jesli wyskoczy brak libthinkfinger.so.0 to robimy tak:
8. docieramy do celu - umozliwiamy logowanie za pomoca palucha:
modyfikujemy plik /etc/pam.d/common-auth
tak, aby wygladal w ten sposob:
Kod: Zaznacz cały
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
# traditional Unix authentication mechanisms.
#
auth sufficient pam_thinkfinger.so
auth required pam_unix.so try_first_pass nullok_secure
9. dodajemy swoj odcisk do bazy danych
osobiscie przetlumaczone
stad. powodzenia :o)