PHYSLOCK(1)
β¨ NAME β¨
okay so bestie, this is physlock β the PHYSLOCK(1) page, filed under General Commands Manual β and it locks all consoles / virtual terminals. π
no cap.
πΈ SYNOPSIS πΈ
physlock [-dhLlmsv] [-p MSG]
π¦ DESCRIPTION π¦
physlock is an alternative to vlock, and it is equivalent to vlock -an. It was 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 it highly depends on the kernel's ioctl API. π§
The behaviour of physlock is completely controlled via command-line arguments; it does not rely on environment variables. It uses the utmp file to identify the owner of the current session (i.e. active tty) and prompts for her password to unlock the computer. π
π OPTIONS π
-dβ fork and detachphyslockbefore 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 ofphyslockhas crashed and leaved the console switching mechanism locked. π-mβ mute kernel messages on console whilephyslockis running. π€«-p MSGβ displayMSGbefore the password prompt. π¬-sβ disable SysRq mechanism whilephyslockis running. π«-vβ print version information to standard output and exit. π·οΈ
π AUTHORS π
Bert Muennich <ber.t at gmx.com> β iconic.
π HOMEPAGE π
http://github.com/muennich/physlock
π SEE ALSO π
okay bye bestie, this page is serving version physlock-13+ and itβs living in PHYSLOCK(1) β thatβs the footer tea. β¨π
π¦ where this page comes from
- alpine 3.24: physlock-doc 13_git20200116-r3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms