luca
/
bootstrapper
Archived
1
0
Fork 0
This repository has been archived on 2024-11-21. You can view files and clone it, but cannot push or open issues or pull requests.
bootstrapper/files/etc/udev/rules.d/70-yubikey.rules

9 lines
383 B
Plaintext

# Udev rules for letting the console user access the Yubikey USB
# device node, needed for challenge/response to work correctly.
ACTION=="add|change", SUBSYSTEM=="usb", \
ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0110|0111|0114|0116|0401|0403|0404|0405|0407|0410", \
TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"