add yubikey udev rules
This commit is contained in:
parent
0e17648dc5
commit
7e93df54b4
10
69-yubikey.rules
Normal file
10
69-yubikey.rules
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
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|0114|0116|0401|0403|0405|0407|0410", \
|
||||||
|
ENV{ID_SECURITY_TOKEN}="1"
|
||||||
|
|
||||||
|
LABEL="yubico_end"
|
4
quirks/yubikey.sh
Normal file
4
quirks/yubikey.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir -p "$sysroot"/etc/udev/rules.d
|
||||||
|
cp "$CURDIR/69-yubikey.rules" "$sysroot"/etc/udev/rules.d
|
Loading…
Reference in a new issue