Comment 6 for bug 236344

Revision history for this message
In , David (david-redhat-bugs) wrote :

I'm a happy thinkfinger user however when I choose to authenticate using my
password; an annoying RETURN keypress is synthesized by thinkfinger. It's easy
to verify this; just log on to VT1 and you will see a newline just after having
entered your password.

This is a huge problem when you use PAM from a desktop application; the RETURN
keypress is intercepted by the toolkit and if a widget is focused (typically the
same button that caused the auth dialog to come up in the first place), it is
errornously clicked.

It's easy to very that thinkfinger is doing something fishy here

$ strings /lib/security/pam_thinkfinger.so |grep uinput
uinput_cr
uinput_close
uinput_open
/dev/input/uinput
/dev/misc/uinput
/dev/uinput
Initializing uinput failed: %s.
Could not send carriage return via uinput: %s.

(adding tmraz as Cc as he owns PAM)