Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p  (Přečteno 2984 krát)

Lui

  • Aktivní člen
  • *
  • Příspěvků: 121
Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« kdy: 05 Ledna 2009, 12:37:20 »
Ahoj, snazim se na kombinaci v subjectu rozchodit otisk prstu. JVse se zda, ze funguje, jen si o ten otisk nerekne a prihlasuju se jmenem a heslem.

Udelal jsem toto:
do zdroju jsem pridal tento radek
deb http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse

Pak jsem nainstaloval tyto baliky: thinkfinger-tools  libpam-thinkfinger build-essential libtool libusb-dev libpam0g-dev pkg-config
Pak jsem udelal
modprobe uinput
a samozrejme jsem uinput[/i] pridal do /etc/modules

Nasledne jsem zadal pro uzivatele jeho otisk a vyzkousel ho pomoci prikazu
sudo tf-tool --acquire
sudo tf-tool --verify


# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
# As of pam 1.0.1-5, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules.  See
# pam-auth-update(8) for details.

# ctecka otisku prstu
auth    sufficient      pam_thinkfinger.so
#
# here are the per-package modules (the "Primary" block)
auth   [success=1 default=ignore]   pam_unix.so nullok_secure

# here's the fallback if no module succeeds
auth   requisite         pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth   required         pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config

Bohuzel to stale nefunguje a me dochazi inspirace. Nemate nekdo nejaky napad?

Predem diky


Můj systém: Ubuntu 7.10 Gutsy Gibbon + Gnome.
Můj hw je IBM/Lenovo Thinkpad T60

Martin Kiklhorn

  • Člen občanského sdružení Ubuntu ČR a placené komunitní podpory
  • Administrátor fóra
  • Závislák
  • ******
  • Příspěvků: 4807
  • グーグル!ご存知ですか?
    • HEJ
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #1 kdy: 05 Ledna 2009, 19:16:30 »
sudo tf-tool --acquire
sudo tf-tool --verify
to nebylo pro uživatele...
Kód: [Vybrat]
tf-tool --acquire
tf-tool --verify
Jsou ve vašem dotazu OPRAVDU VŠECHNY vám dostupné informace o problému?
Linux user since 2007-10-11, Registered #456007
Virtual
| Distribuce
~/slozka znamená /home/"vase jmeno"/slozka
6521 69DE 0F34 FCBC FB1D  DE76 360E 52B2 F71A B8E8

Lui

  • Aktivní člen
  • *
  • Příspěvků: 121
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #2 kdy: 06 Ledna 2009, 17:20:03 »
To zni logicky. Nicmene  jsem to udelal bez sudo a nic. Stale nevim, jak domutit Gnome, aby to na pocatku chtelo onen otisk prstu a ne heslo. Podle me je problem v pam, ale to je jen moje domenka.

Můj systém: Ubuntu 7.10 Gutsy Gibbon + Gnome.
Můj hw je IBM/Lenovo Thinkpad T60

Martin Kiklhorn

  • Člen občanského sdružení Ubuntu ČR a placené komunitní podpory
  • Administrátor fóra
  • Závislák
  • ******
  • Příspěvků: 4807
  • グーグル!ご存知ですか?
    • HEJ
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #3 kdy: 06 Ledna 2009, 17:30:51 »
Já jsem si čtečku pro auth povoloval skriptem /usr/lib/pam-thinkfinger/pam-thinkfinger-enable který mi věci v /etc/pam* upravil sám
viz


čtečka otisků prstů = thinkfinger
návod pochází odtud: http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger#Hardy

Nainstalovat thinkfinder (instaloval jsem všecho co mi nabídl synaptic po hledání "thinkfinder")
mělo by stačit jen:
Kód: [Vybrat]
$ sudo apt-get install thinkfinger-tools libpam-thinkfingerPovolit čtečku pro pam:
Kód: [Vybrat]
$ sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enablenasnímat prst, pokud vyhodí chybu ohledně "claiming the USB device" tak restartovat PC
Následující příkaz pro nasnímání prstu NEspouštět se  'sudo' - vznikly by probémy s přístupovými právy
Kód: [Vybrat]
$ tf-tool --acquirevytvoří skrytý soubor $HOME/.thinkfinger.bir

kontrola zda je úspěšně nasnímaný prst:
Kód: [Vybrat]
$ tf-tool --verifyPři přihlášení je stále nutné vybrat/zadat jméno, namísto hesla lze už použít prst
prompt pro zadání hesla se většinou změní na "Password or swipe finger"
Použitelnost je asi pro všechny případy jako alternativa k interaktivnímu zadání hesla z klávesnice
(grafické, textové přihlášení, sudo, zamčení obrazovky (spořič), další výzvy k zadání administračního hesla (manažer aktualizací, synaptic)
------------------------------------------------------------------
Jsou ve vašem dotazu OPRAVDU VŠECHNY vám dostupné informace o problému?
Linux user since 2007-10-11, Registered #456007
Virtual
| Distribuce
~/slozka znamená /home/"vase jmeno"/slozka
6521 69DE 0F34 FCBC FB1D  DE76 360E 52B2 F71A B8E8

Bobanek

  • Návštěvník
  • Příspěvků: 27
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #4 kdy: 06 Ledna 2009, 22:33:41 »
Super návod. Díky moc. Mám Thinkpad X61s a zrovna dnes jsem začal přemýšlet jak zprovoznit čtečku otisků po nové instalaci Ubuntu 8.10.
Podle návodu pro T60p a obecného návodu na ThinkFinger jsem přidal repozitáře a instaloval dané balíčky. Po instalaci, zapnutí skriptem a pokusu o sejmutí příkazem "tf-tool --acquire" byla chybová hláška o které píšete a tak jsem restartoval. Pak se příkaz již bez problému spustil a požádal o sejmutí. Bohužel ale uložení neproběhlo a místo toho se objevila opět chyba viz:
ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>

Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.
Storing data (/root/.thinkfinger.bir)...Warning: usb_bulk_read expected to read 0x40 (read 0x24 bytes).
Could not acquire fingerprint (communication with fingerprint reader failed).

Když jsem předtím to samé dělal jako uživatel, v závorce bylo číslo 0x34 a skript zůstal viset. Nevypsal závěrečnou hlášku o chybě v komunikaci se čtečkou.
Můžete nějak pomoct? Používám Interpid v 64bit verzi.
Děkuji.

Martin Kiklhorn

  • Člen občanského sdružení Ubuntu ČR a placené komunitní podpory
  • Administrátor fóra
  • Závislák
  • ******
  • Příspěvků: 4807
  • グーグル!ご存知ですか?
    • HEJ
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #5 kdy: 06 Ledna 2009, 22:49:03 »
Potvrzená, systémově nevyřešená chyba, https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/214404
clx to tam řeší změnou časování a kompilací.

Přihlašte se že se vás chyba také týká (klik na change v: This bug doesn't affect me (change) )
Jsou ve vašem dotazu OPRAVDU VŠECHNY vám dostupné informace o problému?
Linux user since 2007-10-11, Registered #456007
Virtual
| Distribuce
~/slozka znamená /home/"vase jmeno"/slozka
6521 69DE 0F34 FCBC FB1D  DE76 360E 52B2 F71A B8E8

Bobanek

  • Návštěvník
  • Příspěvků: 27
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #6 kdy: 06 Ledna 2009, 23:27:25 »
Díky za odpověď. Ty hlášky, to je přesně ono.

Vláďa

Lui

  • Aktivní člen
  • *
  • Příspěvků: 121
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #7 kdy: 08 Ledna 2009, 02:51:35 »
Já jsem si čtečku pro auth povoloval skriptem /usr/lib/pam-thinkfinger/pam-thinkfinger-enable který mi věci v /etc/pam* upravil sám
viz


čtečka otisků prstů = thinkfinger
návod pochází odtud: http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger#Hardy

Nainstalovat thinkfinder (instaloval jsem všecho co mi nabídl synaptic po hledání "thinkfinder")
mělo by stačit jen:
Kód: [Vybrat]
$ sudo apt-get install thinkfinger-tools libpam-thinkfingerPovolit čtečku pro pam:
Kód: [Vybrat]
$ sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enablenasnímat prst, pokud vyhodí chybu ohledně "claiming the USB device" tak restartovat PC
Následující příkaz pro nasnímání prstu NEspouštět se  'sudo' - vznikly by probémy s přístupovými právy
Kód: [Vybrat]
$ tf-tool --acquirevytvoří skrytý soubor $HOME/.thinkfinger.bir

kontrola zda je úspěšně nasnímaný prst:
Kód: [Vybrat]
$ tf-tool --verifyPři přihlášení je stále nutné vybrat/zadat jméno, namísto hesla lze už použít prst
prompt pro zadání hesla se většinou změní na "Password or swipe finger"
Použitelnost je asi pro všechny případy jako alternativa k interaktivnímu zadání hesla z klávesnice
(grafické, textové přihlášení, sudo, zamčení obrazovky (spořič), další výzvy k zadání administračního hesla (manažer aktualizací, synaptic)
------------------------------------------------------------------

To je super. Diky moc. Funguje to. Asi sm nevdecnej, ale nevite, jak zaridit aby otisk prstu fungoval i na Gnome screenserver?
Můj systém: Ubuntu 7.10 Gutsy Gibbon + Gnome.
Můj hw je IBM/Lenovo Thinkpad T60

Martin Kiklhorn

  • Člen občanského sdružení Ubuntu ČR a placené komunitní podpory
  • Administrátor fóra
  • Závislák
  • ******
  • Příspěvků: 4807
  • グーグル!ご存知ですか?
    • HEJ
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #8 kdy: 11 Ledna 2009, 23:43:52 »
mně tam funguje, gnome-screensaver mám neupravený, includuje common-auth:
Kód: [Vybrat]
martin@hej-hq:~$ cat /etc/pam.d/gnome-screensaver
@include common-auth
auth optional pam_gnome_keyring.so
a v common-auth mám položky upravené (thinkfinger doplněn automaticky v minulém postu odkazovaným skriptem pam-thinkfinger-enable )
Kód: [Vybrat]
martin@a3-ntb:~$ cat /etc/pam.d/common-auth
#
# /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 requisite pam_unix.so try_first_pass nullok_secure
auth optional pam_smbpass.so migrate
Jsou ve vašem dotazu OPRAVDU VŠECHNY vám dostupné informace o problému?
Linux user since 2007-10-11, Registered #456007
Virtual
| Distribuce
~/slozka znamená /home/"vase jmeno"/slozka
6521 69DE 0F34 FCBC FB1D  DE76 360E 52B2 F71A B8E8

Lui

  • Aktivní člen
  • *
  • Příspěvků: 121
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #9 kdy: 12 Ledna 2009, 10:17:15 »
mně tam funguje, gnome-screensaver mám neupravený, includuje common-auth:
Kód: [Vybrat]
martin@hej-hq:~$ cat /etc/pam.d/gnome-screensaver
@include common-auth
auth optional pam_gnome_keyring.so
a v common-auth mám položky upravené (thinkfinger doplněn automaticky v minulém postu odkazovaným skriptem pam-thinkfinger-enable )
Kód: [Vybrat]
martin@a3-ntb:~$ cat /etc/pam.d/common-auth
#
# /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 requisite pam_unix.so try_first_pass nullok_secure
auth optional pam_smbpass.so migrate


Ale tohle tam mam
cat /etc/pam.d/gnome-screensaver
@include common-auth
auth optional pam_gnome_keyring.so

cat /etc/pam.d/common-auth
#
# /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.
#
# As of pam 1.0.1-5, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules.  See
# pam-auth-update(8) for details.

# ctecka otisku prstu
auth    sufficient      pam_thinkfinger.so
#
# here are the per-package modules (the "Primary" block)
auth   [success=1 default=ignore]   pam_unix.so nullok_secure

# here's the fallback if no module succeeds
auth   requisite         pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth   required         pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config


Dik za rady
Můj systém: Ubuntu 7.10 Gutsy Gibbon + Gnome.
Můj hw je IBM/Lenovo Thinkpad T60

Lui

  • Aktivní člen
  • *
  • Příspěvků: 121
Re: Otisk prstu na ubuntu 8.10 s Gnome a IBM Thinkpad T60p
« Odpověď #10 kdy: 22 Ledna 2009, 00:59:24 »
Dal jsem tam UPLNE PRESNE totez a porad to z toho screensaveru nechodi.

Nejakej napad jak to diagnostikovat?

Lui


mně tam funguje, gnome-screensaver mám neupravený, includuje common-auth:
Kód: [Vybrat]
martin@hej-hq:~$ cat /etc/pam.d/gnome-screensaver
@include common-auth
auth optional pam_gnome_keyring.so
a v common-auth mám položky upravené (thinkfinger doplněn automaticky v minulém postu odkazovaným skriptem pam-thinkfinger-enable )
Kód: [Vybrat]
martin@a3-ntb:~$ cat /etc/pam.d/common-auth
#
# /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 requisite pam_unix.so try_first_pass nullok_secure
auth optional pam_smbpass.so migrate


Ale tohle tam mam
cat /etc/pam.d/gnome-screensaver
@include common-auth
auth optional pam_gnome_keyring.so

cat /etc/pam.d/common-auth
#
# /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.
#
# As of pam 1.0.1-5, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules.  See
# pam-auth-update(8) for details.

# ctecka otisku prstu
auth    sufficient      pam_thinkfinger.so
#
# here are the per-package modules (the "Primary" block)
auth   [success=1 default=ignore]   pam_unix.so nullok_secure

# here's the fallback if no module succeeds
auth   requisite         pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth   required         pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config


Dik za rady
Můj systém: Ubuntu 7.10 Gutsy Gibbon + Gnome.
Můj hw je IBM/Lenovo Thinkpad T60

 

Provoz zaštiťuje spolek OpenAlt.