A small bash script and couple of udev rules to facilitate the locking of all gnome sessions upon removal of your Yubikey.
- Run the makefile
sudo make install
- Reload udev
sudo udevadm control --reload
- Run the make uninstall command
sudo make uninstall
- Reload udev
sudo udevadm control --reload
Sometimes you might want to keep your session active when you unplug the key. To disable the locking feature temporarily, run the following command
sudo yubikey-screenlock -d
To re-enable the locker, run the following
sudo yubikey-screenlock -e
Author: | Zarren Spry <[email protected]>
PGP Fingerprint: 770E 94A7 B764 C0D3 1AE2 D33C 34BC E0BC D665 C5E9
|
---|