Poldi and kdesu

Gordian Klein gordian.klein at gmx.de
Mon Nov 3 16:10:47 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello again,

im very happy to tell you that i found the Problem :-)
It seems that kdesu is looking for a ':' at the end of the Password Prompt.
In pam_poldi the prompt is '||Please enter the PIN' (inside getpin-cb.c).
This didnt work.
But when i put a ':' at the end so that the prompt now is '||Please
enter the PIN:' kdesu just works fine.
I dont know if this is a bug in kdesu or pam_poldi.

Nevertheless i have found another problem concerning scdaemon:
When im logged in to my linux as normal user with scdaemon running and
then do a
sudo somecmd
i get an scdaemon error:
(scdamon log:)

2008-11-03 16:04:59 scdaemon[7575] Handhabungsroutine für fd -1 gestartet
2008-11-03 16:04:59 scdaemon[7575] PC/SC OPEN failed: sharing violation
scdaemon[7575.0] DBG: -> OK GNU Privacy Guard's Smartcard server ready
scdaemon[7575.0] DBG: <- SERIALNO
2008-11-03 16:04:59 scdaemon[7575] no supported card application found:
Allgemeiner Fehler
scdaemon[7575.0] DBG: -> ERR 100663297 Allgemeiner Fehler <SCD>
scdaemon[7575.0] DBG: <- SERIALNO
2008-11-03 16:04:59 scdaemon[7575] no supported card application found:
Allgemeiner Fehler
scdaemon[7575.0] DBG: -> ERR 100663297 Allgemeiner Fehler <SCD>
scdaemon[7575.0] DBG: <- RESTART
scdaemon[7575.0] DBG: -> OK
scdaemon[7575.0] DBG: <- BYE
scdaemon[7575.0] DBG: -> OK closing connection
2008-11-03 16:04:59 scdaemon[7575] Handhabungsroutine für den fd -1 beendet
2008-11-03 16:05:01 scdaemon[7575] scdaemon (GnuPG) 2.0.9 angehalten

i guess the problem is the line "PC/SC OPEN failed: sharing violation".
What can i do here?

If i kill all scdaemons and do a sudo it works fine.

Thank you!
Regards,
Gordian Klein

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iJwEAQECAAYFAkkPFHIACgkQJQ/nLhGdw57emAP/RI58it1Gmwy6/XCWcSFtK/pf
HgiSrAxxJef55eeLUR2DpzE6ftOmxffNGoAGaWEXTEbCQJg26XR6MqRpQeEf0a8k
AMyldaDuuwaKtBgJd8B6azSDHAoUErZJ9bAw0UPxoTkn81r82bdcuQoKDFd4ggh1
6r5daPDOSjWhJTQVsLg=
=w8UT
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list