snippetbashTip
physlock — Lock all consoles and virtual terminals. More information: <https://github.com/xyb3rt/physlock#usage
Viewed 0 times
virtualphyslockcommandallandcliconsoleslock
linux
Problem
How to use the
physlock command: Lock all consoles and virtual terminals. More information: <https://github.com/xyb3rt/physlock#usage>.Solution
physlock — Lock all consoles and virtual terminals. More information: <https://github.com/xyb3rt/physlock#usage>.Lock every console (require current user or root to unlock):
physlockMute kernel messages on console while locked:
physlock -mDisable SysRq mechanism while locked:
physlock -sDisplay a message before the password prompt:
physlock -p "{{Locked!}}"Fork and detach physlock (useful for suspend or hibernate scripts):
physlock -dCode Snippets
Lock every console (require current user or root to unlock)
physlockMute kernel messages on console while locked
physlock -mDisable SysRq mechanism while locked
physlock -sDisplay a message before the password prompt
physlock -p "{{Locked!}}"Fork and detach physlock (useful for suspend or hibernate scripts)
physlock -dContext
tldr-pages: linux/physlock
Revisions (0)
No revisions yet.