You are not logged in.

#1 2011-10-27 11:49:25

raptor
Member
Registered: 2011-10-27
Posts: 3

Authenticate in gdm using fingerprint

I am trying to make work logging in my gdm with swiping my finger.
I was yet able to make sudo working (with picture telling me to swipe finger)
and also unlocking gnome-screensaver (with no sign that I should swipe but when i swipe it unlocks)
So the hardware is ready and the only problem is setting up gdm.
I tried configure both /etc/pam.d/gdm and /etc/pam.d/gdm-fingerprint to

auth            sufficient      pam_fingerprint-gui.so debug
auth            requisite       pam_nologin.so
auth            required        pam_env.so
auth            required        pam_unix.so use_first_pass nullok_secure

and

auth            requisite       pam_nologin.so
auth            required        pam_env.so
auth            sufficient      pam_fingerprint-gui.so debug
auth            sufficient      pam_succeed_if.so uid >= 1000 quiet

similar way as my /etc/pam.d/login which works
But after clicking my username no sign of asking for fingerprint apears.
And swiping the finger does also nothing.

I tried also to disable user list using command

sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list true

and checked it in /var/lib/gdm/.gconf/apps/gdm/simple-greeter/%gconf.xml

<?xml version="1.0"?>
<gconf>
    <entry name="disable_user_list" mtime="1319675321" type="bool" value="true"/>
</gconf>

But userlist is still shown.
I dont know whether there is any connection but I cant get rid of userlist and I cant login to gdm with swiping my finger.
Can anyone of you log into gdm3 using fingerprint?
Thanks everyone for help.

Offline

#2 2011-10-27 14:40:08

raptor
Member
Registered: 2011-10-27
Posts: 3

Re: Authenticate in gdm using fingerprint

I think I am better to post my complete pam files so here they are.
http://pastebin.com/Q07S9jqC

Offline

#3 2011-10-27 17:12:49

grawity
Member
From: Lithuania
Registered: 2009-10-15
Posts: 8
Website

Re: Authenticate in gdm using fingerprint

GDM 3 does not use GConf anymore; GNOME in general is migrating to GSettings/dconf.

$ sudo -u gdm gsettings list-recursively org.gnome.login-screen
org.gnome.login-screen disable-user-list false
org.gnome.login-screen enable-fingerprint-authentication false
org.gnome.login-screen enable-smartcard-authentication false
org.gnome.login-screen logo ''

To disable the user list, try this:

sudo -u gdm gsettings set org.gnome.login-screen disable-user-list true

To enable fingerprint authentication:

sudo -u gdm gsettings set org.gnome.login-screen enable-fingerprint-authentication true

(Also, the gdm PAM stack is not used anymore if GDM is compiled with multiple authentication support -- which it is on Arch.)

Last edited by grawity (2011-10-27 17:13:31)

Offline

#4 2011-10-27 17:19:18

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Authenticate in gdm using fingerprint

instead of using that gsettings "hack" you can do the settings in /etc/dconf/db/gdm.d/00-upstream-settings and run after that "dconf update"

disabling user-list is not yet possible: https://bugzilla.gnome.org/show_bug.cgi?id=660660

Last edited by wonder (2011-10-27 17:21:02)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-10-31 19:15:36

raptor
Member
Registered: 2011-10-27
Posts: 3

Re: Authenticate in gdm using fingerprint

Thank both of you for reply.
So now I ended up with

[root@raptor-n10jc ~]# sudo -u gdm gsettings list-recursively org.gnome.login-screen
org.gnome.login-screen disable-user-list true
org.gnome.login-screen enable-fingerprint-authentication true
org.gnome.login-screen enable-smartcard-authentication false
org.gnome.login-screen logo ''

But no change with my problems.
Users still on screen and fingerprint authentication not working.
Do you think these are the only settings I can set and now I just have to wait to get it implemented?

Offline

#6 2011-11-10 10:01:35

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Authenticate in gdm using fingerprint

install fprintd


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB