System Grab Bag

View all TLDR pages from Linux (or from all pages)

physlock

Lock all consoles and virtual terminals. More information: http://github.com/muennich/physlock.
  • Lock every console (require current user or root to unlock):
    physlock
  • Mute kernel messages on console while locked:
    physlock -m
  • Disable SysRq mechanism while locked:
    physlock -s
  • Display a message before the password prompt:
    physlock -p "{{Locked!}}"
  • Fork and detach physlock (useful for suspend or hibernate scripts):
    physlock -d

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.