Created
January 17, 2020 22:47
-
-
Save puiterwijk/2273096cc9a8935c01c351e40d6ccaf4 to your computer and use it in GitHub Desktop.
System security notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://tech.michaelaltfield.net/2020/01/02/buskill-laptop-kill-cord-dead-man-switch/ | |
ACTION=="remove", SUBSYSTEM=="usb", RUN+="/usr/bin/loginctl lock-sessions" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment