mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
YubiKey: one more fix for lightdm
Use root because user is not given access to the device before local X session is started (which is done in VM after dom0 user logs in).
This commit is contained in:
parent
a60aafc111
commit
ee09e47249
@ -63,7 +63,7 @@ To use this mode you need:
|
||||
|
||||
challenge=`head -c64 /dev/urandom | xxd -c 64 -ps`
|
||||
# You may need to adjust slot number and USB VM name here
|
||||
response=`qvm-run --nogui -p sys-usb "ykchalresp -2 -x $challenge"`
|
||||
response=`qvm-run -u root --nogui -p sys-usb "ykchalresp -2 -x $challenge"`
|
||||
|
||||
correct_response=`echo $challenge | xxd -r -ps | openssl dgst -sha1 -macopt hexkey:$key -mac HMAC -r | cut -f1 -d ' '`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user