smart card + gpg only root

Michael Bienia michael at vorlon.ping.de
Wed May 17 15:45:29 CEST 2006


On 2006-05-17 07:52:47 +0200, Dany wrote:
> Hello,
Hello,

> I'm trying to get regular users to use smart card readers under Ubuntu
> (dapper). As far as I know Ubuntu uses udev rather than hotplug so I
> followed the instructions found at  :
> http://www.fsfe.org/en/card/howto/card_reader_howto_udev

I'm successfully using my smart card reader (a SPR 532) under Ubuntu
dapper as a user.

I've created the group "scard" and added my user to it (don't forget to
re-login). Then I created a udev rules file suitable for the udev
version in dapper:
,----[ gnupg-ccid.rules ]-
| # udev rules for card reader
| 
| SUBSYSTEM!="usb_device", GOTO="gnupg-ccid_rules_end"
| 
| SYSFS{idVendor}=="04e6", SYSFS{idProduct}=="e003", GROUP="scard", MODE="0660"
| 
| LABEL="gnupg-ccid_rules_end"
`----
You have to change the idVendor and idProduct as suited for your card
reader. It is placed in /etc/udev/rules.d. To test if it works restart
udevd.

Michael



More information about the Gnupg-users mailing list