Nitrokey / nitrokey-documentation

User documentation of Nitrokey's products
https://docs.nitrokey.com
33 stars 38 forks source link

This page contains an error and can be done simpler #236

Open tuxmaster5000 opened 5 months ago

tuxmaster5000 commented 5 months ago

File: [hsm/linux/automatic-screen-lock.rst] https://docs.nitrokey.com/hsm/linux/automatic-screen-lock.html The udev rules will be firmware version related. (101 will be the FW version) A much simpler solution is: ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="42b2", RUN+="/usr/bin/loginctl lock-sessions" Tested with the nitrokey 3 2C NFC under Fedora-38.