physlock(1) lock all consoles / virtual terminals

SYNOPSIS

physlock [-dhLlsv] [-u USER]

DESCRIPTION

physlock is an alternative to vlock, it is equivalent to `vlock -an'. It is written because vlock blocks some linux kernel mechanisms like hibernate and suspend and can therefore only be used with some limitations.

physlock is designed to be lightweight, but highly depends on the kernels ioctl API.

The behaviour of physlock is completely controlled via command-line arguments, it does not rely on environment variables. It always allows unlocking as root and as a specified user. If no username is given on the command line, then physlock uses the name of the calling user.

OPTIONS

-d
Fork and detach physlock before prompting for authentication. The parent process returns right after everything is set up, so this option is useful for use in suspend/hibernate scripts.
-h
Print brief usage information to standard output and exit.
-l
Only lock console switching and exit.
-L
Only enable (unlock) console switching and exit. This is useful when a prior instance of physlock has crashed and leaved the console switching mechanism locked.
-s
Disable SysRq mechanism while physlock is running.
-u USER
Allow the given user to unlock the computer. Using this option prevents physlock from using the name of the calling user.
-v
Print version information to standard output and exit.

AUTHORS

Bert Muennich <ber.t at gmx.com>