Created
December 17, 2014 05:41
-
-
Save seanhagen/fcfb66a64ab74728167c to your computer and use it in GitHub Desktop.
Yubikey NEO Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION!="add|change", GOTO="yubico_end" | |
# Udev rules for letting the console user access the Yubikey USB | |
# device node, needed for challenge/response to work correctly. | |
# Yubico Yubikey II | |
ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0110|0111|0116", \ | |
ENV{ID_SECURITY_TOKEN}="1" | |
LABEL="yubico_end" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add|change", SUBSYSTEM=="usb", \ | |
ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0111|0115|0116", \ | |
TEST=="/var/run/ConsoleKit/database", \ | |
RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment