1SLOCK(1)                  BSD General Commands Manual                 SLOCK(1)
2

NAME

4     slock — simple X screen locker
5

SYNOPSIS

7     slock [-v] [cmd [arg ...]]
8

DESCRIPTION

10     slock is a simple X screen locker. If provided, cmd [arg ...] is executed
11     after the screen has been locked.
12

OPTIONS

14     -v      Print version information to stdout and exit.
15

SECURITY CONSIDERATIONS

17     To make sure a locked screen can not be bypassed by switching VTs or
18     killing the X server with Ctrl+Alt+Backspace, it is recommended to dis‐
19     able both in xorg.conf(5) for maximum security:
20
21     Section "ServerFlags"
22             Option "DontVTSwitch" "True"
23             Option "DontZap"      "True"
24     EndSection
25

EXAMPLES

27     $ slock /usr/sbin/s2ram
28

CUSTOMIZATION

30     slock can be customized by creating a custom config.h from config.def.h
31     and (re)compiling the source code. This keeps it fast, secure and simple.
32
33                                 June 20, 2019
Impressum