Lock your computer as soon as your Yubikey is unplugged.
You must specify the device used in /etc/yubilock/device.conf
.
# Install
# As root
make install
# add the required data to /etc/yubilock/device.conf
systemctl daemon-reload
systemctl enable --user yubilock.service
# Uninstall
systemctl disable --user yubilock.service
# As root
make uninstall
systemctl daemon-reload
# Test a configuration
cp device.conf.example device.conf
./yubilock.sh device.conf