]> git.armaanb.net Git - slock.git/blobdiff - slock.1
Add a section on security considerations
[slock.git] / slock.1
diff --git a/slock.1 b/slock.1
index 2b2b7c82c773e467a234fceba67d4ad4e8ce0495..82cdcd62064166a75975997e7901f1df7e5bea97 100644 (file)
--- a/slock.1
+++ b/slock.1
@@ -17,6 +17,18 @@ is executed after the screen has been locked.
 .It Fl v
 Print version information to stdout and exit.
 .El
+.Sh SECURITY CONSIDERATIONS
+To make sure a locked screen can not be bypassed by switching VTs
+or killing the X server with Ctrl+Alt+Backspace, it is recommended
+to disable both in
+.Xr xorg.conf 5
+for maximum security:
+.Bd -literal -offset left
+Section "ServerFlags"
+       Option "DontVTSwitch" "True"
+       Option "DontZap"      "True"
+EndSection
+.Ed
 .Sh EXAMPLES
 $
 .Nm