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 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. πŸ”“
  • -m β€” mute kernel messages on console while physlock is running. 🀫
  • -p MSG β€” display MSG before the password prompt. πŸ’¬
  • -s β€” disable SysRq mechanism while physlock is 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